From 6075886c4a0a71afb6cc0ec1f4fd34c6a99c47fd Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Thu, 29 Feb 2024 17:13:03 +0100 Subject: [PATCH] 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 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f55110..5b1fcd7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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