Commit 7a7527a8 authored by Ochorocho's avatar Ochorocho
Browse files

Update .gitlab-ci.yml

parent 0710d1fc
Pipeline #6840 passed with stages
in 44 seconds
......@@ -66,4 +66,7 @@ release_upload:
script:
# Get variables saved as artifacts in `.phar` template
- export $(xargs <build.env)
- 'curl --request POST --header "PRIVATE-TOKEN: $GITLAB_PRIVATE_TOKEN" --data name="$PHAR_ARTIFACT_NAME-$CI_COMMIT_TAG.phar" --data url="$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/jobs/$JOB_ARTIFACT_ID/artifacts/$PHAR_FILE_NAME" $CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/releases/$CI_COMMIT_TAG/assets/links'
- 'curl --request POST --header "PRIVATE-TOKEN: $GITLAB_PRIVATE_TOKEN"
--data name="$PHAR_ARTIFACT_NAME-$CI_COMMIT_TAG.phar"
--data url="$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/jobs/$JOB_ARTIFACT_ID/artifacts/$PHAR_FILE_NAME"
$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/releases/$CI_COMMIT_TAG/assets/links'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment