diff options
author | Mathew Robinson <chasinglogic@gmail.com> | 2019-05-07 13:29:58 -0400 |
---|---|---|
committer | Mathew Robinson <chasinglogic@gmail.com> | 2019-05-07 13:54:44 -0400 |
commit | 14c4a6e66351e07b1965622b4e8fb8d5bf0a04e2 (patch) | |
tree | 005002edacd42c0da392acabccc36d981c9599bd /etc/longevity.yml | |
parent | ef53c85ff0d5f19d82a240f54f2cbc22fa8687b4 (diff) | |
download | mongo-14c4a6e66351e07b1965622b4e8fb8d5bf0a04e2.tar.gz |
SERVER-41038 Guarantee that git describe returns the same number of digits regardless of version
Diffstat (limited to 'etc/longevity.yml')
-rw-r--r-- | etc/longevity.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/longevity.yml b/etc/longevity.yml index d2535f3c21d..4fb75fcef8a 100644 --- a/etc/longevity.yml +++ b/etc/longevity.yml @@ -201,7 +201,7 @@ tasks: set -o verbose # We get the raw version string (r1.2.3-45-gabcdef) from git - MONGO_VERSION=$(git describe) + MONGO_VERSION=$(git describe --abbrev=7) # If this is a patch build, we add the patch version id to the version string so we know # this build was a patch, and which evergreen task it came from if [ "${is_patch|}" = "true" ]; then |