Skip to content

Commit

Permalink
Merge pull request #598 from keiths-osc/version_fix
Browse files Browse the repository at this point in the history
Fixed binary script so traefik version command doesn't just print default values
  • Loading branch information
vdemeester committed Aug 5, 2016
2 parents 1f3accc + ef6c211 commit 039107e
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 039107e

Please sign in to comment.