diff --git a/.goreleaser.yml b/.goreleaser.yml index ece5343..9184e4f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,10 +17,14 @@ builds: - arm64 archives: - - replacements: - darwin: MacOS - linux: Linux - windows: Windows + - name_template: >- + {{ .ProjectName }}_ + {{- .Version }}_ + {{- if eq .Os "darwin" }}MacOS + {{- else if eq .Os "linux" }}Linux + {{- else if eq .Os "windows" }}Windows + {{- else }}{{ .Os }}{{ end }}_ + {{- .Arch }} checksum: name_template: 'checksums.txt' snapshot: