Skip to content

Commit d779419

Browse files
committed
fix(krew): binary name
1 parent a19c5d3 commit d779419

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ builds:
2121
env:
2222
- CGO_ENABLED=0
2323
ldflags:
24-
- "-s -w -X github.com/stackitcloud/kubectl-get-all/internal/version.Version={{.Version}}"
24+
- "-s -w -X github.com/stackitcloud/kubectl-get-all/internal/version.Version={{.Tag}}"
2525
goos:
2626
- linux
2727
- windows

.krew.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,28 @@ spec:
2121
os: linux
2222
arch: amd64
2323
{{addURIAndSha "https://github.com/stackitcloud/kubectl-get-all/releases/download/{{ .TagName }}/get-all_{{ .TagName }}_linux_amd64.tar.gz" .TagName | indent 6 }}
24-
bin: kubectl-get-all
24+
bin: get-all
2525
- selector:
2626
matchLabels:
2727
os: linux
2828
arch: arm64
2929
{{addURIAndSha "https://github.com/stackitcloud/kubectl-get-all/releases/download/{{ .TagName }}/get-all_{{ .TagName }}_linux_arm64.tar.gz" .TagName | indent 6 }}
30-
bin: kubectl-get-all
30+
bin: get-all
3131
- selector:
3232
matchLabels:
3333
os: darwin
3434
arch: amd64
3535
{{addURIAndSha "https://github.com/stackitcloud/kubectl-get-all/releases/download/{{ .TagName }}/get-all_{{ .TagName }}_darwin_amd64.tar.gz" .TagName | indent 6 }}
36-
bin: kubectl-get-all
36+
bin: get-all
3737
- selector:
3838
matchLabels:
3939
os: darwin
4040
arch: arm64
4141
{{addURIAndSha "https://github.com/stackitcloud/kubectl-get-all/releases/download/{{ .TagName }}/get-all_{{ .TagName }}_darwin_arm64.tar.gz" .TagName | indent 6 }}
42-
bin: kubectl-get-all
42+
bin: get-all
4343
- selector:
4444
matchLabels:
4545
os: windows
4646
arch: amd64
4747
{{addURIAndSha "https://github.com/stackitcloud/kubectl-get-all/releases/download/{{ .TagName }}/get-all_{{ .TagName }}_windows_amd64.zip" .TagName | indent 6 }}
48-
bin: kubectl-get-all.exe
48+
bin: get-all.exe

0 commit comments

Comments
 (0)