From 6c6e12dbbfd1e7428b77307365ac366eeca1dc72 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Sun, 29 Sep 2024 15:06:07 +0200
Subject: [PATCH] Remove the script

---
 .gitlab-ci.yml            | 12 ------------
 .gitlab/release-gitlab.sh |  8 --------
 2 files changed, 20 deletions(-)
 delete mode 100644 .gitlab/release-gitlab.sh

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index adcf560efc..9f048df9a4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -421,15 +421,3 @@ release-libs:
   script:
     - bash ./lib/python/package.sh
     - bash ./lib/python/release.sh
-
-release-gitlab:
-  stage: release
-  image: docker.io/alpine:3.18
-  when: manual
-  only:
-    refs:
-      - /^release-.*/
-  before_script:
-    - "apk add bash curl"
-  script:
-    - bash ./.gitlab/release-gitlab.sh
\ No newline at end of file
diff --git a/.gitlab/release-gitlab.sh b/.gitlab/release-gitlab.sh
deleted file mode 100644
index b7704d4eb9..0000000000
--- a/.gitlab/release-gitlab.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-GITLAB_URL="https://gitlab.phaidra.org"
-curl -fsSL \
-  -X POST \
-  -H "Content-Type: application/json" \
-  -H "PRIVATE-TOKEN: ${CI_TOKEN}" \
-  -d '{"name": "v${APP_VERSION}", "tag_name": "v${APP_VERSION}", "ref": "${CI_COMMIT_BRANCH}", "description": "Automated release from CI/CD"}' \
-  ${GITLAB_URL}/api/v4/projects/450/releases
-- 
GitLab