Skip to content

Commit

Permalink
fix(release): remove 'archives.replacements' (deprecated + removed), …
Browse files Browse the repository at this point in the history
…replace w 'name_template'
  • Loading branch information
sanderblue committed Oct 3, 2024
1 parent 7578197 commit 26d9efd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ archives:
- id: "default"
builds:
- newrelic
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 }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 26d9efd

Please sign in to comment.