revet GitHub action change for krew
name: release kyverno-cli plugin
on:
- release:
- types:
- - published
+ push:
+ tags:
+ - 'v*'
+ - '!v*-rc*'
+
jobs:
release-cli-via-krew:
runs-on: ubuntu-latest
@@ -14,5 +16,4 @@ jobs:
run: git fetch --prune --unshallow
- name: Update new version in krew-index
- if: "!github.event.release.prerelease"
uses: rajatjindal/krew-release-bot@v0.0.38
