Skip to content

Commit

Permalink
Don't update krew manifest for pre-releases
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Oct 10, 2020
1 parent 673758d commit fc82c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
env:
GITHUB_USER: 1gtm
GITHUB_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.event.ref, 'refs/tags/') && (contains(github.ref, '-alpha.') || contains(github.ref, '-beta.') || contains(github.ref, '-rc.')) == false
run: |
cd $RUNNER_WORKSPACE/krew-index
./hack/scripts/open-pr.sh $GITHUB_WORKSPACE stash

0 comments on commit fc82c5d

Please sign in to comment.