diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ff69cd1..accd3c0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,7 +106,7 @@ jobs: git tag v$VERSION git push --tags origin - name: Create Branch and Tag Release - if: ${{ !contains(needs.build_and_deploy.outputs.project_version, '-RC') && !contains(needs.build_and_deploy.outputs.project_version, '-M') }} + if: ${{ !contains(needs.build_and_deploy.outputs.project_version, '-SNAPSHOT') && !contains(needs.build_and_deploy.outputs.project_version, '-RC') && !contains(needs.build_and_deploy.outputs.project_version, '-M') }} run: | echo "Tagging $REPO/$VERSION and creating release branch." git checkout -b $VERSION