diff --git a/.goreleaser.yml b/.goreleaser.yml index 46bad72..f876215 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -21,12 +21,14 @@ builds: - windows - darwin archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - name_template: >- + {{ .ProjectName }}_ + {{- if eq .Os "Darwin" }}macos_ + {{- else }}{{- tolower .Os }}_{{end}} + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }} + {{ if .Arm }}v{{ .Arm }}{{ end }} checksum: name_template: "checksums.txt" snapshot: