Loading .gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -158,3 +158,15 @@ pushToPrebuilt: - git push # Sometimes a single push doesn't do all the job, so we have to push twice - git push publish-contracts: stage: publish needs: ["buildRelease"] rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' when: manual - if: '$CI_COMMIT_TAG !~ "/^$/"' when: always script: - ./gradlew :contracts:build - ./gradlew :contracts:publish No newline at end of file Loading
.gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -158,3 +158,15 @@ pushToPrebuilt: - git push # Sometimes a single push doesn't do all the job, so we have to push twice - git push publish-contracts: stage: publish needs: ["buildRelease"] rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' when: manual - if: '$CI_COMMIT_TAG !~ "/^$/"' when: always script: - ./gradlew :contracts:build - ./gradlew :contracts:publish No newline at end of file