From 0056d915d9f18728c902756b16403650690768ef Mon Sep 17 00:00:00 2001 From: Jonathan Klee Date: Wed, 29 Oct 2025 14:39:43 +0100 Subject: [PATCH] Change the rules to publish libs --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bdd37b29c..d84220cd0 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 -- GitLab