Skip to content

Commit

Permalink
better release name
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Apr 7, 2023
1 parent a68e5f6 commit 007a959
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ archives:
# this name template makes the OS and Arch compatible with the results of uname.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
{{- if eq .Os "darwin" }}macos
{{- else }}{{ .Os }}{{ end }}
{{- if eq .Arch "arm64" }}_arm{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
Expand Down

0 comments on commit 007a959

Please sign in to comment.