Skip to content

Commit ef6c211

Browse files
author
Keith Shook
committed
Fixed binary script so traefik version command doesn't just print default values
1 parent 1f3accc commit ef6c211

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/binary

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ if [ -z "$DATE" ]; then
2626
fi
2727

2828
# Build binaries
29-
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 .
29+
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 commit comments

Comments
 (0)