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
1 changed files with 7 additions and 5 deletions

View File

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