Skip to content

Commit

Permalink
Fix goreleaser archive name template
Browse files Browse the repository at this point in the history
  • Loading branch information
mstg committed Oct 6, 2023
1 parent a5f9082 commit 963b5d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ builds:
archives:
- name_template: >-
{{- .ProjectName }}_
{{- .Version }}
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "arm64" }}aarch64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
{{- else }}{{ .Arch }}{{ end }}{{ end -}}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 963b5d2

Please sign in to comment.