Skip to content

Commit

Permalink
recreate original name templating for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Tappe committed Jul 2, 2024
1 parent 7617bd3 commit 221ccd4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ builds:
archives:
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- .Version }}_
{{- if eq .Os "Linux" }}linux
{{- 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 -}}
{{- if .Arm }}v{{ .Arm }}
{{ end -}}
files:
- LICENSE
nfpms:
Expand Down

0 comments on commit 221ccd4

Please sign in to comment.