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

Commit f64ed644 authored by Mohit Mali's avatar Mohit Mali
Browse files

Update .gitlab-ci.yml

parent d646960a
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -45,9 +45,9 @@ publish:
  #  - branches                                   # Do not run this job on a branch
  script:      
    - |
      curl --fail --output "/dev/null" --silent --show-error --write-out "HTTP response: ${http_code}\n\n" \
      --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\"}]}}" \
      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"}]}}'' \
      --header "Content-Type: application/json" \
      --header "JOB-TOKEN: $CI_JOB_ID" \
      --request POST \ "https://gitlab.e.foundation/api/v4/projects/${CI_PROJECT_ID}/releases"