Skip to content

Commit

Permalink
goreleaser: drop replacements
Browse files Browse the repository at this point in the history
Addressing:
  • starting release...
  ⨯ release failed after 0s                  error=yaml: unmarshal errors:
  line 27: field replacements not found in type config.Archive
  line 54: field replacements not found in type config.NFPM
  • Loading branch information
isimluk committed Nov 20, 2023
1 parent 3f46dba commit 904bd99
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ builds:
- arm64

archives:
- replacements:
darwin: macOS
linux: Linux
windows: Windows
386: i386
amd64: x86_64

format_overrides:
- goos: windows
format: zip
Expand All @@ -51,11 +44,6 @@ nfpms:
- id: gocomply_xsd2go

file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Release }}.{{ .Arch }}"
replacements:
386: i686
amd64: x86_64
arm: aarch32
arm64: aarch64

formats:
- deb
Expand Down

0 comments on commit 904bd99

Please sign in to comment.