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

Commit f4988817 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

feat: add create-release job

parent b8362538
Loading
Loading
Loading
Loading
Loading
+20 −1
Original line number Diff line number Diff line
@@ -144,3 +144,22 @@ create-json-files:
    paths:
      - community.json
      - official.json


create-release:
  stage: release
  dependencies:
    - init_submodules
  needs:
    - init_submodules
    - create-json-files
    - generate-apks
  rules:
    - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
      when: on_success
  before_script:
    - apt update && apt install jq -y
  script:
    - |
      ./systemAppsUpdateInfo/scripts/create-release.sh \
      "$APK_PATH" "$UNSIGNED_APK" "$COMMUNITY_APK" "$OFFICIAL_APK"
 No newline at end of file