From ef6c2112759d4f44f734449009d7aa74e0000461 Mon Sep 17 00:00:00 2001 From: Keith Shook Date: Thu, 4 Aug 2016 10:53:07 -0400 Subject: [PATCH] Fixed binary script so traefik version command doesn't just print default values --- script/binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/binary b/script/binary index b89b525a9..24d7baf2d 100755 --- a/script/binary +++ b/script/binary @@ -26,4 +26,4 @@ if [ -z "$DATE" ]; then fi # Build binaries -CGO_ENABLED=0 GOGC=off go build $FLAGS -ldflags "-s -w -X version.Version=$VERSION -X version.Codename=$CODENAME -X version.BuildDate=$DATE" -a -installsuffix nocgo -o dist/traefik . +CGO_ENABLED=0 GOGC=off go build $FLAGS -ldflags "-s -w -X github.com/containous/traefik/version.Version=$VERSION -X github.com/containous/traefik/version.Codename=$CODENAME -X github.com/containous/traefik/version.BuildDate=$DATE" -a -installsuffix nocgo -o dist/traefik .