diff --git a/v3/.goreleaser.yml b/v3/.goreleaser.yml index 2b84be004..cdd316399 100644 --- a/v3/.goreleaser.yml +++ b/v3/.goreleaser.yml @@ -18,11 +18,14 @@ builds: archives: - wrap_in_directory: true - replacements: - darwin: Darwin - linux: Linux - windows: Windows - amd64: x86_64 + name_template: >- + {{- .ProjectName }}_ + {{- .Version }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end -}} snapshot: name_template: "{{ .Tag }}-next" release: