Skip to content

Commit

Permalink
fix kubens archive format
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetb committed Jul 13, 2023
1 parent 0783405 commit b545d21
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .goreleaser.yml
Expand Up @@ -73,17 +73,20 @@ archives:
files: ["LICENSE"]
- id: kubens-archive
name_template: |-
kubens_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
kubens_{{ .Tag }}_{{ .Os }}_
{{- with .Arch -}}
{{- if (eq . "386") -}}i386
{{- elif (eq . "amd64") -}}x86_64
{{- else -}}{{- . -}}
{{- end -}}
{{ end }}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
builds:
- kubens
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit b545d21

Please sign in to comment.