Skip to content

Commit

Permalink
ci: Update .goreleaser.yaml remove deprecated replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldonhull authored Jan 22, 2024
1 parent c9f394c commit 665774c
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 @@ -26,12 +26,14 @@ builds:
- amd64
archives:
- id: replacements
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
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 -}}
- id: binaries
format: binary

Expand Down

0 comments on commit 665774c

Please sign in to comment.