diff --git a/.github/workflows/ci_branch.yml b/.github/workflows/ci_branch.yml index 3b1c894..ec30741 100644 --- a/.github/workflows/ci_branch.yml +++ b/.github/workflows/ci_branch.yml @@ -96,7 +96,7 @@ jobs: if [[ !("$SNAPSHOT_VERSION" =~ $SNAPSHOT_REGEX) ]] then echo "Version isn't a SNAPSHOT version:" $SNAPSHOT_VERSION ", skipping deployment to Clojars..." - exit 0 + exit 1 fi lein deploy echo "SNAPSHOT version:" $SNAPSHOT_VERSION"; commit: "${{github.sha}}"; successfully deployed to Clojars" diff --git a/.github/workflows/ci_master.yml b/.github/workflows/ci_master.yml index 51b6232..8a4d54f 100644 --- a/.github/workflows/ci_master.yml +++ b/.github/workflows/ci_master.yml @@ -100,7 +100,7 @@ jobs: if [[ !("$RELEASE_VERSION" =~ $RELEASE_REGEX) ]] then echo "Version isn't a release version:" $RELEASE_VERSION ", skipping deployment to Clojars..." - exit 0 + exit 1 fi lein deploy echo "Release version:" $RELEASE_VERSION"; commit: "${{github.sha}}"; successfully deployed to Clojars"