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:
Felix Matouschek
2024-02-29 17:13:03 +01:00
parent 52cb5e94d8
commit 6075886c4a

View File

@@ -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