Skip to content

Commit

Permalink
goreleaser: replacements is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
braydonk committed Sep 2, 2023
1 parent 908b190 commit 8d7456c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ builds:
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- 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:
Expand All @@ -43,3 +45,4 @@ changelog:
- '^docs:'
- '^test:'
- '^ci:'

0 comments on commit 8d7456c

Please sign in to comment.