From e94f686752cb89508f3e072d1b3af9540ddc130c Mon Sep 17 00:00:00 2001 From: Nelson Isioma Date: Wed, 25 Sep 2024 18:14:51 +0100 Subject: [PATCH] fix: adding goamd and goarch versions to archive name template (#18) --- .goreleaser.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6829f2a..ea35a82 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -82,6 +82,8 @@ archives: {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}_v{{ .Arm }}{{ end }} + {{- if .Goamd64 }}_{{ .Goamd64 }}{{ end }} # Includes goamd64 version + {{- if .Goarch }}_{{ .Goarch }}{{ end }} # Includes goarch version # use zip for windows archives format_overrides: