Skip to content

Commit 31e45b5

Browse files
authored
Update .goreleaser.yml (#128)
1 parent 7ab4bbf commit 31e45b5

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.goreleaser.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,22 @@ release:
2222
discussion_category_name: Announcements
2323

2424
archives:
25-
- replacements:
26-
darwin: macOS
27-
linux: Linux
28-
amd64: 64bit
29-
arm64: ARM64
25+
- id: archive
26+
name_template: >-
27+
{{ .ProjectName }}_{{ .Version }}_
28+
{{- if eq .Os "darwin" }}macOS
29+
{{- else if eq .Os "linux" }}Linux
30+
{{- else if eq .Os "openbsd" }}OpenBSD
31+
{{- else if eq .Os "netbsd" }}NetBSD
32+
{{- else if eq .Os "freebsd" }}FreeBSD
33+
{{- else if eq .Os "dragonfly" }}DragonFlyBSD
34+
{{- else}}{{- .Os }}{{ end }}-
35+
{{- if eq .Arch "amd64" }}64bit
36+
{{- else if eq .Arch "386" }}32bit
37+
{{- else if eq .Arch "arm" }}ARM
38+
{{- else if eq .Arch "arm64" }}ARM64
39+
{{- else if eq .Arch "ppc64le" }}PPC64LE
40+
{{- else }}{{ .Arch }}{{ end }}
3041
files:
3142
- README.md
3243
- LICENSE

0 commit comments

Comments
 (0)