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

Commit f4042b84 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch '0000-a15-fix-ci-data-contracts' into 'main'

Allow to publish the lib on main branch

See merge request !613
parents e3008ae2 5cf1584f
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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