Skip to content

Commit

Permalink
Merge pull request #14 from buty4649/improve-archive-name
Browse files Browse the repository at this point in the history
Update naming format for releases
  • Loading branch information
buty4649 authored Mar 21, 2024
2 parents 232b59f + fe97b61 commit 11501c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,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
{{- .Version }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}amd64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
Expand Down

0 comments on commit 11501c2

Please sign in to comment.