Commit 59dfab7c authored by Ochorocho's avatar Ochorocho
Browse files

Update .gitlab-ci.yml

parent 7ea9d96c
Pipeline #6815 passed with stages
in 4 minutes and 41 seconds
......@@ -64,14 +64,14 @@ release_upload:
dependencies:
- create_version_phar
script:
- export $(xargs <build.env)
- echo "PHAR_FILE_NAME: $PHAR_FILE_NAME"
- echo "CI_COMMIT_TAG: $CI_COMMIT_TAG"
- echo "JOB_ARTIFACT_ID: $JOB_ARTIFACT_ID"
- echo "CI_SERVER_URL: $CI_SERVER_URL"
- echo "CI_PROJECT_ID: $CI_PROJECT_ID"
- echo - 'curl --request POST --data name="$PHAR_FILE_NAME $CI_COMMIT_TAG $JOB_ARTIFACT_ID" --data url="$CI_SERVER_URL/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?job_token=$CI_JOB_TOKEN'
- echo CI_COMMIT_TAG $CI_COMMIT_TAG
- echo JOB_ARTIFACT_ID $JOB_ARTIFACT_ID
- echo CI_SERVER_URL $CI_SERVER_URL
- echo CI_PROJECT_ID $CI_PROJECT_ID
- echo 'curl --request POST --data name="$PHAR_FILE_NAME $CI_COMMIT_TAG $JOB_ARTIFACT_ID" --data url="$CI_SERVER_URL/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?job_token=$CI_JOB_TOKEN'
#- export $(xargs <build.env)
# - export $(grep -v '^#' build.env | xargs)
#- echo "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/releases/$CI_COMMIT_TAG/assets/links?job_token=$CI_JOB_TOKEN"
# /projects/:id/jobs/:job_id/artifacts/
- export $(grep -v '^#' build.env | xargs)
- 'curl --request POST --data name="$PHAR_FILE_NAME $CI_COMMIT_TAG $JOB_ARTIFACT_ID" --data url="$CI_SERVER_URL/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?job_token=$CI_JOB_TOKEN'
- curl --request POST --data name="$PHAR_FILE_NAME $CI_COMMIT_TAG $JOB_ARTIFACT_ID" --data url="$CI_SERVER_URL/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?job_token=$CI_JOB_TOKEN
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