diff --git a/.goreleaser.yml b/.goreleaser.yml index ab13866..1cd913c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -28,7 +28,7 @@ archives: checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ .Tag }}-next" + name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" changelog: sort: asc filters: diff --git a/.krew.yaml b/.krew.yaml index b9aa529..0eb2449 100644 --- a/.krew.yaml +++ b/.krew.yaml @@ -3,7 +3,7 @@ kind: Plugin metadata: name: ipick spec: - version: v{{ .TagName }} + version: {{ .TagName }} homepage: https://github.com/similarweb/kubectl-ipick shortDescription: A kubectl wrapper for interactive resource selection. description: | @@ -15,17 +15,17 @@ spec: matchLabels: os: darwin arch: amd64 - {{addURIAndSha "https://github.com/similarweb/kubectl-ipick/releases/download/v{{ .TagName }}/kubectl-ipick_{{ .TagName }}_Darwin_x86_64.tar.gz" .TagName | indent 4 }} + {{addURIAndSha "https://github.com/similarweb/kubectl-ipick/releases/download/{{ .TagName }}/kubectl-ipick_{{ .TagName }}_Darwin_x86_64.tar.gz" .TagName | indent 4 }} bin: kubectl-ipick - selector: matchLabels: os: linux arch: amd64 - {{addURIAndSha "https://github.com/similarweb/kubectl-ipick/releases/download/v{{ .TagName }}/kubectl-ipick_{{ .TagName }}_Linux_x86_64.tar.gz" .TagName | indent 4 }} + {{addURIAndSha "https://github.com/similarweb/kubectl-ipick/releases/download/{{ .TagName }}/kubectl-ipick_{{ .TagName }}_Linux_x86_64.tar.gz" .TagName | indent 4 }} bin: kubectl-ipick - selector: matchLabels: os: windows arch: amd64 - {{addURIAndSha "https://github.com/similarweb/kubectl-ipick/releases/download/v{{ .TagName }}/kubectl-ipick_{{ .TagName }}_Windows_x86_64.tar.gz" .TagName | indent 4 }} + {{addURIAndSha "https://github.com/similarweb/kubectl-ipick/releases/download/{{ .TagName }}/kubectl-ipick_{{ .TagName }}_Windows_x86_64.tar.gz" .TagName | indent 4 }} bin: kubectl-ipick.exe \ No newline at end of file