--- ./stamp.sh 2025-03-01 00:18:14 +++ ./stamp.sh 2025-03-01 00:19:16 @@ -4,9 +4,8 @@ # summary given by `git describe` is used as a fallback (it contains the most # recent tag name, the number of commits since, and the short git hash). -CURRENT_TAG=$(git tag -l --points-at HEAD | head -n1) -CURRENT_COMMIT=$(git describe --tags 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}"