diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bdd37b29c00ae2fbe40f53e506c148b0d9fa9630..d84220cd03be1e6dd43057a6ea06e78170d13b01 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -150,10 +150,10 @@ publish-authdatalib: stage: publish needs: ["buildRelease"] rules: - - if: $CI_MERGE_REQUEST_ID - when: manual - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: manual + - if: '$CI_COMMIT_TAG !~ "/^$/"' + when: always script: - ./gradlew :auth-data-lib:build - ./gradlew :auth-data-lib:publish @@ -201,7 +201,7 @@ publish-contracts: stage: publish needs: ["buildRelease"] rules: - - if: $CI_MERGE_REQUEST_ID + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: manual - if: '$CI_COMMIT_TAG !~ "/^$/"' when: always