From e5d982ed336a54803ce91a28ff48f958224dc709 Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Fri, 1 Jan 2021 21:20:26 +0900 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1f7874b5..51d53fd6 100644 --- a/Makefile +++ b/Makefile @@ -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: