diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 022fe43b3..55e55cb96 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -25,8 +25,16 @@ archives: format: binary builds: - koord-runtime-proxy - replacements: - amd64: x86_64 + # Default template: https://goreleaser.com/customization/archive/ + name_template: >- + {{ .Binary }}_ + {{ .Version }}_ + {{ .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else }}{{ .Arch }}{{ end }} + {{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_ + {{ . }}{{ end }} + {{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }} checksum: name_template: 'checksums.txt' snapshot: