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

Commit 20a7503a authored by Mohit Mali's avatar Mohit Mali
Browse files

Update .gitlab-ci.yml

parent b48e6527
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -36,6 +36,14 @@ build:
  artifacts:
    paths:
      - play-services-core/build/outputs/apk/
      
publish:
  stage: publish
 # only:
  #  - tags                                       # Run only on tags
  #except:
  #  - 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",