Loading .gitlab-ci.yml +2 −3 Original line number Diff line number Diff line Loading @@ -46,8 +46,7 @@ publish: script: - | 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"}]}}'' \ --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" --request POST https://gitlab.e.foundation/api/v4/projects/${CI_PROJECT_ID}/releases Loading
.gitlab-ci.yml +2 −3 Original line number Diff line number Diff line Loading @@ -46,8 +46,7 @@ publish: script: - | 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"}]}}'' \ --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" --request POST https://gitlab.e.foundation/api/v4/projects/${CI_PROJECT_ID}/releases