From 47d3d4c7d1b75bc479b6621858db95d0e764f4f6 Mon Sep 17 00:00:00 2001 From: Konstantina Chremmou Date: Mon, 16 Jan 2023 12:10:16 +0000 Subject: [PATCH] CP-41433: Use different product version variable for the installer. Signed-off-by: Konstantina Chremmou --- Branding/branding.sh | 1 + scripts/re-branding.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Branding/branding.sh b/Branding/branding.sh index 19df4c847..11a4c702a 100644 --- a/Branding/branding.sh +++ b/Branding/branding.sh @@ -41,4 +41,5 @@ BRANDING_HELP_PATH=xencenter/current-release/ BRANDING_PV_TOOLS="[Guest Tools]" BRANDING_PRODUCT_VERSION_TEXT=0.0.0 BRANDING_XC_PRODUCT_VERSION=0.0.0 +BRANDING_XC_PRODUCT_VERSION_INSTALLER=0.0.0 UPDATES_URL="[Updates url]" diff --git a/scripts/re-branding.sh b/scripts/re-branding.sh index f97deeaa1..718a9ad24 100644 --- a/scripts/re-branding.sh +++ b/scripts/re-branding.sh @@ -68,7 +68,7 @@ rebranding_global ${REPO}/XenAdmin/XenAdmin.csproj PRODUCT_GUID=$(uuidgen | tr [a-z] [A-Z] | tr -d [:space:]) sed -b -i -e "s/@AUTOGEN_PRODUCT_GUID@/${PRODUCT_GUID}/g" \ - -e "s/@PRODUCT_VERSION@/${BRANDING_XC_PRODUCT_VERSION}/g" \ + -e "s/@PRODUCT_VERSION@/${BRANDING_XC_PRODUCT_VERSION_INSTALLER}/g" \ -e "s/@COMPANY_NAME_LEGAL@/${BRANDING_COMPANY_NAME_LEGAL}/g" \ -e "s/@COMPANY_NAME_SHORT@/${BRANDING_COMPANY_NAME_SHORT}/g" \ -e "s/@BRAND_CONSOLE@/${BRANDING_BRAND_CONSOLE}/g" \