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

Commit 359d457c authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

fix: apply's Sayantan suggestion:

Rename release stage in gitlab_release & change artefact path of init_submodule job
parent c72b7ec5
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -10,7 +10,7 @@ variables:
stages:
stages:
  - build
  - build
  - test
  - test
  - release
  - gitlab_release


before_script:
before_script:
  - export GRADLE_USER_HOME=$(pwd)/.gradle
  - export GRADLE_USER_HOME=$(pwd)/.gradle
@@ -79,7 +79,7 @@ test:
# |==========================================|
# |==========================================|


init_submodules:
init_submodules:
  stage: release
  stage: gitlab_release
  rules:
  rules:
    - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
    - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
      when: on_success
      when: on_success
@@ -87,11 +87,11 @@ init_submodules:
    - git clone https://gitlab.e.foundation/e/os/system-apps-update-info.git systemAppsUpdateInfo
    - git clone https://gitlab.e.foundation/e/os/system-apps-update-info.git systemAppsUpdateInfo
  artifacts:
  artifacts:
    paths:
    paths:
      - systemAppsUpdateInfo/
      - systemAppsUpdateInfo/scripts/




generate-apks:
generate-apks:
  stage: release
  stage: gitlab_release
  rules:
  rules:
    - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"' 
    - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"' 
      when: on_success
      when: on_success
@@ -114,7 +114,7 @@ generate-apks:
      - $APK_PATH/$OFFICIAL_APK
      - $APK_PATH/$OFFICIAL_APK


create-json-files:
create-json-files:
  stage: release
  stage: gitlab_release
  dependencies:
  dependencies:
    - init_submodules
    - init_submodules
    - generate-apks
    - generate-apks
@@ -137,7 +137,7 @@ create-json-files:




create-release:
create-release:
  stage: release
  stage: gitlab_release
  dependencies:
  dependencies:
    - init_submodules
    - init_submodules
  needs:
  needs: