mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 10:28:36 +00:00
Removed usage of replacements
from goreleaser.yml file (#7833)
* Changed goreleaser.yml file Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com> * Changed syntax Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com> * Small indent fix Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com> --------- Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com> Co-authored-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
parent
a5251aa79b
commit
31bda44c5b
1 changed files with 7 additions and 9 deletions
|
@ -43,20 +43,18 @@ signs:
|
|||
archives:
|
||||
- id: kyverno-cli-archive
|
||||
name_template: |-
|
||||
kyverno-cli_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
|
||||
{{- with .Arm -}}
|
||||
{{- if (eq . "6") -}}hf
|
||||
{{- else -}}v{{- . -}}
|
||||
{{- end -}}
|
||||
{{- 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:
|
||||
- goos: windows
|
||||
format: zip
|
||||
replacements:
|
||||
386: i386
|
||||
amd64: x86_64
|
||||
files: ["LICENSE"]
|
||||
|
||||
checksum:
|
||||
|
|
Loading…
Add table
Reference in a new issue