From 1f13c575e5a7cb3208b9b8b63236c73e3071e4be Mon Sep 17 00:00:00 2001
From: lucha <lucha@paranoici.org>
Date: Tue, 1 Sep 2020 16:24:42 -0700
Subject: [PATCH] gitlab-ci.yml

---
 .gitlab-ci.yml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3315984..a3d8b36 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"
-- 
GitLab