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

Commit 45d37097 authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

[CI] Release builds for hotfixes

parent af9609a1
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -43,13 +43,15 @@ ktlintDebug:
# Release build related jobs

# Default configuration for release builds
# Only on "master" and "merge_request_event"
# Only on "master", "merge_request_event" and protected branches
buildRelease:
  stage: release
  allow_failure: false
  rules:
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
      when: always
    - if: '$CI_COMMIT_REF_PROTECTED == "true"'
      when: always
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
      when: always
  script:
@@ -69,6 +71,8 @@ buildRelease:
  rules:
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
      when: always
    - if: '$CI_COMMIT_REF_PROTECTED == "true"'
      when: always

buildReleaseDev:
  extends: .releaseSigned