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