.goreleaser: Update deprecated syntax

This commit is contained in:
Manuel Rüger 2023-07-05 17:40:55 +02:00
parent cbe0b05dab
commit d147aac98b

View File

@ -18,12 +18,12 @@ builds:
- amd64 - amd64
- arm64 - arm64
archives: archives:
- replacements: - name_template: >-
darwin: Darwin {{ .ProjectName }}_
linux: Linux {{- title .Os }}_
windows: Windows {{- if eq .Arch "amd64" }}x86_64
386: i386 {{- else if eq .Arch "386" }}i386
amd64: x86_64 {{- else }}{{ .Arch }}{{ end }}
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
snapshot: snapshot: