Skip to content

Commit

Permalink
chore: Address goreleaser config deprecations
Browse files Browse the repository at this point in the history
archives.replacements was deprecated 2022-11-24 and expired recently on
2023-06-06, causing our builds to break.
  • Loading branch information
arusso committed Jul 27, 2023
1 parent fcb291b commit 0722a13
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ before:
# You may remove this if you don't use go modules.
- go mod tidy
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 }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 0722a13

Please sign in to comment.