mirror of
https://github.com/containous/traefik.git
synced 2024-12-22 13:34:03 +03:00
Fixed binary script so traefik version command doesn't just print default values
This commit is contained in:
parent
1f3accc0d7
commit
ef6c211275
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user