Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e93db0e authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

publish contracts module through .gitlab-ci.yml

parent e572a27c
Loading
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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