diff --git a/.goreleaser.yml b/.goreleaser.yml index 5a4febc..847a78d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -22,11 +22,22 @@ release: discussion_category_name: Announcements archives: - - replacements: - darwin: macOS - linux: Linux - amd64: 64bit - arm64: ARM64 + - id: archive + name_template: >- + {{ .ProjectName }}_{{ .Version }}_ + {{- if eq .Os "darwin" }}macOS + {{- else if eq .Os "linux" }}Linux + {{- else if eq .Os "openbsd" }}OpenBSD + {{- else if eq .Os "netbsd" }}NetBSD + {{- else if eq .Os "freebsd" }}FreeBSD + {{- else if eq .Os "dragonfly" }}DragonFlyBSD + {{- else}}{{- .Os }}{{ end }}- + {{- if eq .Arch "amd64" }}64bit + {{- else if eq .Arch "386" }}32bit + {{- else if eq .Arch "arm" }}ARM + {{- else if eq .Arch "arm64" }}ARM64 + {{- else if eq .Arch "ppc64le" }}PPC64LE + {{- else }}{{ .Arch }}{{ end }} files: - README.md - LICENSE