Skip to content

Commit

Permalink
Tweaking goreleaser name format
Browse files Browse the repository at this point in the history
  • Loading branch information
robscott committed Jan 25, 2023
1 parent fbbdafe commit bb92a30
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,19 @@ builds:
- 6
- 7
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: |-
kube-capacity_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit bb92a30

Please sign in to comment.