Skip to content

Commit

Permalink
Fix goreleaser
Browse files Browse the repository at this point in the history
Fixed a deprecation that was broken with goreleaser 1.19.0. See
https://goreleaser.com/deprecations/#archivesreplacements for details.
  • Loading branch information
ScottGarman committed Jul 31, 2023
1 parent d5bd5da commit 7e58dbe
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@ archives:
-
id: go
format: tar.gz
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64bit
386: 32bit
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{ title .Os }}-
{{- if eq .Arch "amd64" }}64bit
{{- else if eq .Arch "386" }}32bit
{{- else }}{{ .Arch }}{{ end }}
files:
- README.md

Expand Down

0 comments on commit 7e58dbe

Please sign in to comment.