Skip to content

Commit fc82c5d

Browse files
committed
Don't update krew manifest for pre-releases
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 673758d commit fc82c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
env:
7171
GITHUB_USER: 1gtm
7272
GITHUB_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
73-
if: startsWith(github.ref, 'refs/tags/')
73+
if: startsWith(github.event.ref, 'refs/tags/') && (contains(github.ref, '-alpha.') || contains(github.ref, '-beta.') || contains(github.ref, '-rc.')) == false
7474
run: |
7575
cd $RUNNER_WORKSPACE/krew-index
7676
./hack/scripts/open-pr.sh $GITHUB_WORKSPACE stash

0 commit comments

Comments
 (0)