diff --git a/build-system/scripts/setup_env b/build-system/scripts/setup_env index d0366079050..c3941229705 100755 --- a/build-system/scripts/setup_env +++ b/build-system/scripts/setup_env @@ -18,6 +18,7 @@ BASH_ENV=${BASH_ENV:-} BUILD_SYSTEM_PATH=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd) PROJECT=$(cat PROJECT) VERSION=$(cat VERSION) +VERSION=${VERSION%% x-release-please-version*} echo "COMMIT_HASH=$COMMIT_HASH" echo "COMMIT_TAG=$COMMIT_TAG"