Skip to content

Commit

Permalink
fix goreleaser replacement config
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetb committed Jul 13, 2023
1 parent 0d95f90 commit 2454e18
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ builds:
archives:
- id: kubectx-archive
name_template: |-
kubectx_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
kubectx_{{ .Tag }}_{{ .Os }}_
{{- with .Arch -}}
{{- if (eq . "386") -}}i386
{{- elif (eq . "amd64") -}}x86_64
{{- else -}}{{- . -}}
{{- end -}}
{{ end }}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
Expand Down

0 comments on commit 2454e18

Please sign in to comment.