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

Commit 2e0609b9 authored by Mohit Mali's avatar Mohit Mali
Browse files

# Update gitlab ci

parent 6cdc0e7d
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -50,9 +50,9 @@ publish:
    - echo $CI_COMMIT_TAG
    - echo $CI_COMMIT_TAG
    - echo $CI_COMMIT_MESSAGE
    - echo $CI_COMMIT_MESSAGE
    - |
    - |
      curl --fail --output --trace "/dev/null" --silent --show-error --write-out "HTTP response: ${http_code}\n\n" \
      curl --fail --output "/dev/null" --silent --show-error --write-out "HTTP response: ${http_code}\n\n" \
      --data '{"ref": "$CI_COMMIT_TAG","tag_name": "$CI_COMMIT_TAG",
      --data "{\"ref\": \"$CI_COMMIT_SHA\",\"tag_name\": \"$CI_COMMIT_TAG\", \"name\": \"MicroG\", \"description\": \"$CI_COMMIT_MESSAGE\"}" \
      "name": "$CI_COMMIT_TAG", "description": "$CI_COMMIT_MESSAGE"}' \
      --header "Content-Type: application/json" \
      --header 'Content-Type: application/json' \
      --header "JOB-TOKEN: $CI_JOB_ID" \
      --header "PRIVATE-TOKEN: dPh6x22D5jK4EJmry1rx" \
      --request POST \
      --request POST https://gitlab.e.foundation/api/v4/projects/${CI_PROJECT_ID}/releases
      "https://gitlab.e.foundation/api/v4/projects/${CI_PROJECT_ID}/releases"