diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33159846b68853d0b404a74f4641dee0ba05a1b9..a3d8b365ecfd1b99726ef0009af5d74fea683cc3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1 +1,14 @@ -include: "https://git.autistici.org/noblogs/composer-publish/raw/master/common.yml" +stages: + - release + +variables: + TAG: "v0.1.4" + AUTH: "__token__:$REGISTRY_TOKEN" + PROJECT_ID: $CI_PROJECT_ID + +release: + stage: release + image: curlimages/curl + script: + - 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"