1
0
Fork 0
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:
Pradyot Ranjan 2023-08-01 13:26:50 +05:30 committed by GitHub
parent a5251aa79b
commit 31bda44c5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: