Skip to content

Commit

Permalink
goreleaser: Remove deprecated archives.replacements tag (#127)
Browse files Browse the repository at this point in the history
This replaces the deprecated archives.replacements tag from
goreleaser.yml file with name_templates tag.

See more in https://goreleaser.com/deprecations/#archivesreplacements.
  • Loading branch information
sywhang authored Jul 14, 2023
1 parent d0b713e commit 50cb244
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ builds:
# List of replacements generated by goreleaser to match the output of `uname`
# on various systems. This will make the binary more easily curl-able.
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
Expand Down

0 comments on commit 50cb244

Please sign in to comment.