From 0b15b638c46cb0f3e89386e1c639d992cf2f5797 Mon Sep 17 00:00:00 2001 From: Gabriel Russell Date: Fri, 4 Mar 2016 19:08:20 -0500 Subject: TOOLS-1098 pull the tools version from the server tag --- etc/evergreen.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1