Fix "No valid platforms to build for" build error on release

Follow-up for #1612
May be related to https://github.com/mitchellh/gox/issues/92
This commit is contained in:
Yusuke Kuoka 2021-01-01 21:20:26 +09:00
parent c815d0192a
commit e5d982ed33
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ integration:
.PHONY: integration
cross:
env CGO_ENABLED=0 gox -os '!openbsd !freebsd !netbsd' -arch '!mips !mipsle !mips64 !mips64le !s390x !arm arm64' -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags '-X github.com/roboll/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
env CGO_ENABLED=0 gox -os 'windows darwin linux' -arch '386 amd64 arm64' -osarch '!darwin/arm64' -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags '-X github.com/roboll/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
.PHONY: cross
static-linux: