Skip to content

Commit

Permalink
chore: Fix GoReleaser config for publishing to krew index
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Toh <[email protected]>
  • Loading branch information
tohjustin committed Nov 15, 2021
1 parent d31904b commit a4ef7a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ jobs:
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KREW_GITHUB_TOKEN: ${{ secrets.KREW_GITHUB_TOKEN }}
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ changelog:
- "^style(\\(.+\\))?:"
- "^test(\\(.+\\))?:"
krews:
- index:
- name: api-categories
index:
owner: tohjustin
name: kubectl-plugins
branch: master
token: "{{ .Env.KREW_GITHUB_TOKEN }}"
url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}"
url_template: "https://github.com/tohjustin/kube-api-categories/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: Justin Toh
email: [email protected]
Expand Down

0 comments on commit a4ef7a2

Please sign in to comment.