fix(ci): use correct variable syntax for build-distros job (#12933)
This commit is contained in:
parent
6bfdb48560
commit
d5a97ecaf3
|
@ -414,7 +414,7 @@ jobs:
|
|||
command: |
|
||||
for os in $XC_OS; do
|
||||
target="./pkg/bin/${GOOS}_${GOARCH}/"
|
||||
GOOS="$os" CGO_ENABLED=0 go build -o "$target" -ldflags "$(GOLDFLAGS)" -tags "$(GOTAGS)"
|
||||
GOOS="$os" CGO_ENABLED=0 go build -o "${target}" -ldflags "${GOLDFLAGS}" -tags "${GOTAGS}"
|
||||
done
|
||||
|
||||
# save dev build to CircleCI
|
||||
|
|
Loading…
Reference in a new issue