Skip to content

Commit

Permalink
goreleaser: replacements is deprecated (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
braydonk committed Sep 2, 2023
1 parent 908b190 commit c9bfa38
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .goreleaser.yaml
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 c9bfa38

Please sign in to comment.