Skip to content

Commit

Permalink
archives.replacements was removed from goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
aspettl committed Oct 16, 2023
1 parent 03f9278 commit 4028bfb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ builds:
ldflags:
- "-X github.com/aspettl/ccliwrapper/cmd.Version={{ .Version }}"
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 }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
files:
- README.md
- LICENSE
Expand Down

0 comments on commit 4028bfb

Please sign in to comment.