--- stamp.sh.orig 2022-02-17 13:27:30.000000000 +0100 +++ stamp.sh 2022-02-27 14:53:24.000000000 +0100 @@ -3,9 +3,8 @@ # Use the first tag that points to the current HEAD # if no tag is found, the latest git commit is used as a fallback -CURRENT_TAG=$(git tag -l --points-at HEAD | head -n1) -CURRENT_COMMIT=$(git rev-parse HEAD) +CURRENT_TAG=${BAZELISK_VERSION} -echo "STABLE_VERSION ${CURRENT_TAG:-$CURRENT_COMMIT}" +echo "STABLE_VERSION ${CURRENT_TAG}" # rules_nodejs expects to read from volatile-status.txt -echo "BUILD_SCM_VERSION ${CURRENT_TAG:-$CURRENT_COMMIT}" +echo "BUILD_SCM_VERSION ${CURRENT_TAG}"