diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2016-03-04 19:08:20 -0500 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2016-03-31 18:46:05 -0400 |
commit | 0b15b638c46cb0f3e89386e1c639d992cf2f5797 (patch) | |
tree | 0930bbf9a1286198d9221de27e0abf4e5ee394ee /etc/evergreen.yml | |
parent | 5f619d882f9291684c500408ee54967f93d2da49 (diff) | |
download | mongo-TOOLS-1098.tar.gz |
TOOLS-1098 pull the tools version from the server tagTOOLS-1098
Diffstat (limited to 'etc/evergreen.yml')
-rw-r--r-- | etc/evergreen.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 403b97e5dec..b80d5b682a6 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -232,7 +232,7 @@ functions: fi for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do - ${gorootvars} go build -ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec $(git rev-parse HEAD)" ${tooltags|} -o "../mongo-tools/$i${exe|}" $i/main/$i.go + ${gorootvars} go build -ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec $(git rev-parse HEAD) -X github.com/mongodb/mongo-tools/common/options.VersionStr $(git --git-dir ../../.git describe)" ${tooltags|} -o "../mongo-tools/$i${exe|}" $i/main/$i.go echo $i; done exit 0 |