summaryrefslogtreecommitdiff
path: root/etc/longevity.yml
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-05-07 13:29:58 -0400
committerMathew Robinson <chasinglogic@gmail.com>2019-05-07 13:54:44 -0400
commit14c4a6e66351e07b1965622b4e8fb8d5bf0a04e2 (patch)
tree005002edacd42c0da392acabccc36d981c9599bd /etc/longevity.yml
parentef53c85ff0d5f19d82a240f54f2cbc22fa8687b4 (diff)
downloadmongo-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.yml2
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