Skip to content

Commit

Permalink
Fix .gorelease.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Jan 25, 2024
1 parent 6934b6e commit cd51741
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ builds:
- mips64le
- ppc64le
archives:
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: >-
{{- .Binary }}_
{{- .Version }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "darwin" }}MacOS
{{- else if eq .Arch "linux" }}Linux
{{- else if eq .Arch "windows" }}Windows
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
{{- if .Mips }}_{{ .Mips }}{{ end -}}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand All @@ -35,5 +40,3 @@ changelog:
exclude:
- '^docs:'
- '^test:'


0 comments on commit cd51741

Please sign in to comment.