Loading .gitlab-ci.yml +3 −1 Original line number Original line Diff line number Diff line Loading @@ -6,6 +6,8 @@ stages: variables: variables: GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive GIT_TAG: $CI_COMMIT_TAG GIT_COMMIT: $CI_COMMIT_SHA before_script: before_script: - if [ -d "/srv/userscripts" ]; then cp -R userscripts/* /srv/userscripts ; fi - if [ -d "/srv/userscripts" ]; then cp -R userscripts/* /srv/userscripts ; fi Loading Loading @@ -47,7 +49,7 @@ publish: - | - | curl --fail --output "/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" \ --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: mkYsSXNe5yLhzhWSXGRv" \ --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: mkYsSXNe5yLhzhWSXGRv" \ --data '{ "ref":"${CI_COMMIT_SHA}","name": "GmsCore", "tag_name": "${CI_COMMIT_TAG}", "description": "This is Test release", "assets": { "links": [{ "name": "GMSCore.apk", "url": "https://gitlab.e.foundation/api/v4/projects/149/jobs/artifacts/${CI_COMMIT_TAG}/raw//play-services-core/build/outputs/apk/release/play-services-core-release.apk?job=build", "filepath": "/play-services-core/build/outputs/apk/", "link_type":"other" }] } }' \ --data '{ "ref":"$(CI_COMMIT_SHA)","name": "GmsCore", "tag_name": "$(CI_COMMIT_TAG)", "description": "This is Test release", "assets": { "links": [{ "name": "GMSCore.apk", "url": "https://gitlab.e.foundation/api/v4/projects/149/jobs/artifacts/$(CI_COMMIT_TAG)/raw//play-services-core/build/outputs/apk/release/play-services-core-release.apk?job=build", "filepath": "/play-services-core/build/outputs/apk/", "link_type":"other" }] } }' \ --request POST https://gitlab.e.foundation/api/v4/projects/149/releases --request POST https://gitlab.e.foundation/api/v4/projects/149/releases Loading
.gitlab-ci.yml +3 −1 Original line number Original line Diff line number Diff line Loading @@ -6,6 +6,8 @@ stages: variables: variables: GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive GIT_TAG: $CI_COMMIT_TAG GIT_COMMIT: $CI_COMMIT_SHA before_script: before_script: - if [ -d "/srv/userscripts" ]; then cp -R userscripts/* /srv/userscripts ; fi - if [ -d "/srv/userscripts" ]; then cp -R userscripts/* /srv/userscripts ; fi Loading Loading @@ -47,7 +49,7 @@ publish: - | - | curl --fail --output "/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" \ --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: mkYsSXNe5yLhzhWSXGRv" \ --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: mkYsSXNe5yLhzhWSXGRv" \ --data '{ "ref":"${CI_COMMIT_SHA}","name": "GmsCore", "tag_name": "${CI_COMMIT_TAG}", "description": "This is Test release", "assets": { "links": [{ "name": "GMSCore.apk", "url": "https://gitlab.e.foundation/api/v4/projects/149/jobs/artifacts/${CI_COMMIT_TAG}/raw//play-services-core/build/outputs/apk/release/play-services-core-release.apk?job=build", "filepath": "/play-services-core/build/outputs/apk/", "link_type":"other" }] } }' \ --data '{ "ref":"$(CI_COMMIT_SHA)","name": "GmsCore", "tag_name": "$(CI_COMMIT_TAG)", "description": "This is Test release", "assets": { "links": [{ "name": "GMSCore.apk", "url": "https://gitlab.e.foundation/api/v4/projects/149/jobs/artifacts/$(CI_COMMIT_TAG)/raw//play-services-core/build/outputs/apk/release/play-services-core-release.apk?job=build", "filepath": "/play-services-core/build/outputs/apk/", "link_type":"other" }] } }' \ --request POST https://gitlab.e.foundation/api/v4/projects/149/releases --request POST https://gitlab.e.foundation/api/v4/projects/149/releases