From a13ce5cb6f574f0ffd1c0143674c218ec8373140 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Tue, 10 Nov 2015 11:40:22 -0800 Subject: [PATCH] correctly store build number in binary --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 307b06fa6..4719358ca 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ build: go build build_static: - go build --ldflags '-extldflags "-static" -X main.version=$(CI_BUILD_NUMBER)' -o drone_static + go build --ldflags '-extldflags "-static" -X main.build=$(CI_BUILD_NUMBER)' -o drone_static test: go test -cover $(PACKAGES)