Skip to content

Commit

Permalink
Merge pull request #79 from mittwald/fix/archive-name-gen
Browse files Browse the repository at this point in the history
recreate original name templating for releases
  • Loading branch information
leontappe authored Jul 2, 2024
2 parents 7617bd3 + 47ace1d commit bb5dec0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ builds:
archives:
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- .Version }}_
{{- if eq .Os "Linux" }}linux_
{{- else if eq .Os "Darwin" }}macos_
{{- else }}{{ .Os }}{{ end }}
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
Expand Down

0 comments on commit bb5dec0

Please sign in to comment.