From 2603183c75d76a4ee413d1997f14903b1d2b7618 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Fri, 9 Jan 2026 11:34:38 -0600 Subject: [PATCH] Fixed version honoring EXPLICIT_VERSION when present Previously to master refactoring EXPLICIT_VERSION was used for VERSION if present. This was missed in the refactor and caused our new LTS 3.27.0 packages to have improper names including the sha as .x packages would. Ticket: ENT-13663 Changelog: none --- build-scripts/version | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-scripts/version b/build-scripts/version index 2c216ea0c..d1f392e1f 100644 --- a/build-scripts/version +++ b/build-scripts/version @@ -17,7 +17,8 @@ # The CFVERSION file is generated by the determine-version.sh script in the core # repository. The script is executed when you run the autogen.sh. -VERSION=$(cat "$BASEDIR"/core/CFVERSION) +CORE_VERSION=$(cat "$BASEDIR"/core/CFVERSION) +VERSION="${EXPLICIT_VERSION:-$CORE_VERSION}" echo "$(basename $0): Debug: Detected CFEngine version number $VERSION" # The RELEASE number is the actual release of the package. It starts as 1 and