SERVER-120949 Fix future-git-tag variant after tag-based FCV removal (#53380)
GitOrigin-RevId: 76247ebb6bc7d8073c21df7164220a70b4fffc77
This commit is contained in:
parent
b7e63546a9
commit
d007f4722f
@ -22,4 +22,9 @@ if [ -n "$tag" ]; then
|
||||
fi
|
||||
|
||||
git tag -a "$tag" -m "$tag"
|
||||
|
||||
# Write the tag version into .bazelrc.target_mongo_version so the build
|
||||
# picks it up (version_expansions_generate.sh reads this file, not git describe).
|
||||
version="${tag#r}"
|
||||
echo "common --define=MONGO_VERSION=${version}" >.bazelrc.target_mongo_version
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user