diff --git a/.goreleaser.yml b/.goreleaser.yml index 1d61803..5ec7787 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -45,12 +45,15 @@ builds: - hardfloat - softfloat archives: -- replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 +- name_template: + 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 -}} checksum: name_template: 'checksums.txt' snapshot: