From 354c4f97e98e1871a5b45887da4d095e162b753d Mon Sep 17 00:00:00 2001 From: Alice Lambois <35219063+alicela@users.noreply.github.com> Date: Tue, 9 Apr 2024 09:58:07 +0200 Subject: [PATCH] Update create-release.yaml --- .github/workflows/create-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 32b55a7e..746b548a 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -41,7 +41,7 @@ jobs: if [[ "${{ steps.check-tag-exists.outputs.exists }}" == "true" ]]; then echo "Nothing to tag/release, the tag ${{ steps.version-step.outputs.newTag }} already exists" echo "should_continue=false" >> $GITHUB_OUTPUT - else if ! [[ "${{ steps.version-step.outputs.newTag }}" =~ ^v[0-9]+.[0-9]+.[0-9]+$ ]]; then + elif ! [[ "${{ steps.version-step.outputs.newTag }}" =~ ^v[0-9]+.[0-9]+.[0-9]+$ ]]; then echo "Nothing to tag/release, the tag ${{ steps.version-step.outputs.newTag }} is not in correct format X.Y.Z" echo "should_continue=false" >> $GITHUB_OUTPUT else