Fix goreleaser archive name template

This commit is contained in:
Mustafa Gezen 2023-10-06 08:13:19 +02:00
parent a5f9082c15
commit 963b5d25dd
Signed by: mustafa
GPG Key ID: DCDF010D946438C1
1 changed files with 2 additions and 2 deletions

View File

@ -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: