Skip to content
Snippets Groups Projects
Commit c9bea74c authored by lucha's avatar lucha
Browse files

Update .gitlab-ci.yml

parent 2d981f9e
Branches
Tags
No related merge requests found
......@@ -4,12 +4,10 @@ stages:
variables:
TAG: "v0.1.4"
AUTH: "__token__:$REGISTRY_TOKEN"
PROJECT_ID: $CI_PROJECT_ID
REGISTRY_URL: "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/packages/composer"
release:
stage: release
image: curlimages/curl
script:
- export
- echo "Releasing tag $TAG for project id $PROJECT_ID"
- curl -s -S --fail --data tag=$TAG -u $AUTH "https://gitlab.com/api/v4/projects/$PROJECT_ID/packages/composer"
- curl -s -S --fail --data tag=$TAG -u $AUTH $REGISTRY_URL
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment