mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-07-05 03:26:12 +00:00
fix goreleaser replacement config
Per https://goreleaser.com/deprecations/#archivesreplacements
This commit is contained in:
parent
0d95f90a3d
commit
0783405da2
@ -53,7 +53,13 @@ builds:
|
|||||||
archives:
|
archives:
|
||||||
- id: kubectx-archive
|
- id: kubectx-archive
|
||||||
name_template: |-
|
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 -}}
|
{{- with .Arm -}}
|
||||||
{{- if (eq . "6") -}}hf
|
{{- if (eq . "6") -}}hf
|
||||||
{{- else -}}v{{- . -}}
|
{{- else -}}v{{- . -}}
|
||||||
@ -61,9 +67,6 @@ archives:
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
builds:
|
builds:
|
||||||
- kubectx
|
- kubectx
|
||||||
replacements:
|
|
||||||
386: i386
|
|
||||||
amd64: x86_64
|
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
|
Loading…
Reference in New Issue
Block a user