Be compatible with latest goreleaser

This commit is contained in:
Mustafa Gezen 2023-10-06 08:05:29 +02:00
parent f2374845e3
commit a5f9082c15
Signed by: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -17,11 +17,13 @@ builds:
- s390x
- ppc64le
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
arm64: aarch64
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "arm64" }}aarch64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: 'checksums.txt'
snapshot: