From 6111c6f992f22436a777c2a8c79d1af200426adb Mon Sep 17 00:00:00 2001 From: Ryoga Saito Date: Wed, 6 Oct 2021 23:46:28 +0900 Subject: [PATCH] specify target GOOS and GOARCH explicitly --- .goreleaser.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index b58978c..29455fa 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,6 +13,10 @@ builds: - -X main.Revision={{.Commit}} env: - CGO_ENABLED=0 + goos: + - linux + goarch: + - amd64 archives: - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' replacements: {}