Fix goreleaser deprecation

This commit is contained in:
Christoph Petrausch
2023-12-14 23:17:40 +01:00
committed by GitHub
parent 592cb840d9
commit b3c4e7615b
+9 -6
View File
@@ -45,12 +45,15 @@ builds:
- hardfloat
- softfloat
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template:
name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: 'checksums.txt'
snapshot: