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

Commit 3c0277d0 authored by Mohit Mali's avatar Mohit Mali
Browse files

Update .gitlab-ci.yml

parent f64ed644
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -46,8 +46,7 @@ publish:
  script:      
    - |
      curl --fail --output \
      --data '{"ref": "dev","tag_name": "v20.10.2020", "name": "v20.10.2020","description": "$CI_COMMIT_MESSAGE","assets": {"links":[{"name": "v20.10.2020", "url": "https://gitlab.e.foundation/api/v4/projects/${CI_PROJECT_ID}/jobs/artifacts/v20.10.2020/download?job=build",
      \"filepath": "play-services-core/build/outputs/apk/", "link_type":"other"}]}}'' \
      --data '{"ref": "dev","tag_name": "v20.10.2020", "name": "v20.10.2020","description": "$CI_COMMIT_MESSAGE","assets": {"links":[{"name": "v20.10.2020", "url": "https://gitlab.e.foundation/api/v4/projects/${CI_PROJECT_ID}/jobs/artifacts/v20.10.2020/download?job=build","filepath": "play-services-core/build/outputs/apk/", "link_type":"other"}]}}' \
      --header "Content-Type: application/json" \
      --header "JOB-TOKEN: $CI_JOB_ID" \
      --request POST \ "https://gitlab.e.foundation/api/v4/projects/${CI_PROJECT_ID}/releases"
      --request POST https://gitlab.e.foundation/api/v4/projects/${CI_PROJECT_ID}/releases