From 2ef024ca1a1ce26122bbf62b95a8b7600e93ac3e Mon Sep 17 00:00:00 2001 From: Vadim Yalovets Date: Tue, 12 Mar 2024 11:09:45 +0200 Subject: [PATCH] PS-9133 Telemetry metrics show wrong version --- build-ps/percona-server-5.7_builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-ps/percona-server-5.7_builder.sh b/build-ps/percona-server-5.7_builder.sh index 8245943b280d..deac62c91b2b 100644 --- a/build-ps/percona-server-5.7_builder.sh +++ b/build-ps/percona-server-5.7_builder.sh @@ -772,7 +772,7 @@ build_deb(){ echo "cat <<'CALLHOME' > /tmp/call-home.sh" >> percona-server-server-5.7.postinst cat call-home.sh >> percona-server-server-5.7.postinst echo "CALLHOME" >> percona-server-server-5.7.postinst - echo 'bash -x /tmp/call-home.sh -f "PRODUCT_FAMILY_PS" -v "5.7.44-48-1" -d "PACKAGE" &>/dev/null || :' >> percona-server-server-5.7.postinst + echo "bash +x /tmp/call-home.sh -f \"PRODUCT_FAMILY_PS\" -v \"${VERSION}-${RELEASE}-${DEB_RELEASE}\" -d \"PACKAGE\" &>/dev/null || :" >> percona-server-server-5.7.postinst echo "rm -rf /tmp/call-home.sh" >> percona-server-server-5.7.postinst echo "exit 0" >> percona-server-server-5.7.postinst rm -f call-home.sh