mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-03-26 19:03:16 +00:00
fix: Fix release workflow failing because of non-zero exit
Fix the failing release workflow by adding a call to true after grepping for the hopefully nonexistent release tag. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Check if tag exists
|
||||
id: exists
|
||||
run: |
|
||||
EXISTS=$(git tag | grep ${{ steps.version.outputs.VERSION }})
|
||||
EXISTS=$(git tag | grep ${{ steps.version.outputs.VERSION }} || true)
|
||||
echo "EXISTS=$EXISTS" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Fail if tag exists
|
||||
|
||||
Reference in New Issue
Block a user