diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90c0c4a..c2c08e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: - name: Check if revision is already tagged shell: bash run: | - if git tag -l v$MAVEN_POM_REVISION_VERSION | grep -q v$MAVEN_POM_REVISION_VERSION; then + if git tag -l $MAVEN_POM_REVISION_VERSION | grep -q $MAVEN_POM_REVISION_VERSION; then echo "Revision $MAVEN_POM_REVISION_VERSION is already tagged. Skipping the build and deployment!" exit 0 else