Skip to content

Commit

Permalink
Update .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
morwn authored Oct 23, 2023
1 parent 7ab4bbf commit 89cbbf4
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89cbbf4

Please sign in to comment.