From c2e9f22f82e4a1389064c99fa588b382ce8798b3 Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Wed, 31 May 2023 14:52:04 -0400 Subject: [PATCH] Build only for amd64|arm64 x linux|darwin (#88) Required since #85 is only compatible with this combination of OS and architecture. goreleaser build with i386 and windows as well by default. --- .goreleaser.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index b078f04..7a734a4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,7 +9,12 @@ builds: - main: ./cmd/wzprof/main.go binary: wzprof mod_timestamp: '{{ .CommitTimestamp }}' - + goarch: + - amd64 + - arm64 + goos: + - linux + - darwin ldflags: - -X main.version={{.Version}}