Skip to content

Commit

Permalink
chore(goreleaser): fix name_template
Browse files Browse the repository at this point in the history
name_template was updated by #108 but the update included a bug.
The bug changed the asset names.

https://github.com/robscott/kube-capacity/releases/tag/v0.8.0-rc1

"amd64" weren't replaced with "x86_64".
  • Loading branch information
suzuki-shunsuke committed Feb 13, 2024
1 parent 752ea69 commit 13a807a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ builds:
- 7
archives:
- name_template: |-
kube-capacity_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
kube-capacity_{{ .Tag }}_{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64{{ else if eq .Arch "386" }}i386{{ else }}{{ .Arch }}{{ end -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- end -}}
format_overrides:
- goos: windows
Expand Down

0 comments on commit 13a807a

Please sign in to comment.