mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-31 11:54:38 +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
|
- name: Check if tag exists
|
||||||
id: exists
|
id: exists
|
||||||
run: |
|
run: |
|
||||||
EXISTS=$(git tag | grep ${{ steps.version.outputs.VERSION }})
|
EXISTS=$(git tag | grep ${{ steps.version.outputs.VERSION }} || true)
|
||||||
echo "EXISTS=$EXISTS" >> $GITHUB_OUTPUT
|
echo "EXISTS=$EXISTS" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Fail if tag exists
|
- name: Fail if tag exists
|
||||||
|
|||||||
Reference in New Issue
Block a user