Fix regression on plumbing scripts for developer usages

This commit is contained in:
Damien Duportal 2019-05-14 19:58:04 +02:00 committed by Traefiker Bot
parent 886a6bdbe0
commit 5cd9396dae
3 changed files with 8 additions and 4 deletions

View file

@ -26,7 +26,8 @@ if [ -z "$DATE" ]; then
fi
# Build binaries
CGO_ENABLED=0 GOGC=off go build "${FLAGS[@]}" -ldflags "-s -w \
# shellcheck disable=SC2086
CGO_ENABLED=0 GOGC=off go build ${FLAGS[*]} -ldflags "-s -w \
-X github.com/containous/traefik/pkg/version.Version=$VERSION \
-X github.com/containous/traefik/pkg/version.Codename=$CODENAME \
-X github.com/containous/traefik/pkg/version.BuildDate=$DATE" \