release: don't build for darwin/386 as support has been removed in golang

Michael Muré created

Change summary

Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

Makefile 🔗

@@ -33,7 +33,7 @@ install:
 .PHONY: releases
 releases:
 	go generate
-	go run github.com/mitchellh/gox@v1.0.1 -ldflags "$(LDFLAGS)" -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}"
+	go run github.com/mitchellh/gox@v1.0.1 -ldflags "$(LDFLAGS)" -osarch '!darwin/386' -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}"
 
 secure: secure-practices secure-vulnerabilities