Skip to content

Commit

Permalink
Fixed binary script so traefik version command doesn't just print def…
Browse files Browse the repository at this point in the history
…ault values
  • Loading branch information
Keith Shook committed Aug 4, 2016
1 parent ffa060c commit f9b66b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/binary
Original file line number Diff line number Diff line change
Expand Up @@ -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 .

0 comments on commit f9b66b7

Please sign in to comment.