Skip to content

Commit

Permalink
Changed syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Pradyot Ranjan <[email protected]>
  • Loading branch information
prady0t committed Jul 31, 2023
1 parent 9f64a95 commit 259f6a9
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@ signs:
archives:
- id: kyverno-cli-archive
name_template: |-
kyverno-cli_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
kyverno-cli_{{ .Tag }}_{{ .Os }}_
{ { - with .Arch - } }
{ { - if eq . "amd64" - } }x86_64{{- else if eq . "386" -}}i386{{- else -}}{{- . -}}{{- end -}}
{ { - end - } }
{ { - with .Arm - } }
{ { - if eq . "6" - } }hf{{- else -}}v{{- . -}}{{- end -}}
{ { - end - } }
builds:
- kyverno-cli
format_overrides:
Expand Down

0 comments on commit 259f6a9

Please sign in to comment.