From 6d8b2171f021da626da34064046ba3a2dc2da186 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Sun, 29 Sep 2024 08:13:11 +0200
Subject: [PATCH] FIxed syntax

---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4875124343..34aded07c6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -432,5 +432,4 @@ release-gitlab:
   before_script:
     - "apk add bash curl"
   script:
-    - "echo \"curl -fsSL -X POST -H 'Content-Type: application/json' -H 'PRIVATE-TOKEN: (nope) --data {'name': 'v${APP_VERSION}', 'tag_name': 'v${CI_COMMIT_BRANCH}', 'ref': '${CI_COMMIT_BRANCH}', 'description': 'Automated release from CI/CD'} https://gitlab.phaidra.org/api/v4/projects/450\""
-    - "curl -fsSL -X POST -H 'Content-Type: application/json' -H 'PRIVATE-TOKEN: ${CI_TOKEN}' --data \"{'name': 'v${APP_VERSION}', 'tag_name': 'v${CI_COMMIT_BRANCH}', 'ref': '${CI_COMMIT_BRANCH}', 'description': 'Automated release from CI/CD'}\" https://gitlab.phaidra.org/api/v4/projects/450"
\ No newline at end of file
+    - "curl -fsSL -X POST -H \"Content-Type: application/json\" -H \"PRIVATE-TOKEN: ${CI_TOKEN}\" --data '{\"name\": \"v${APP_VERSION}\", \"tag_name\": \"v${APP_VERSION}\", \"ref\": \"${CI_COMMIT_BRANCH}\", \"description\": \"Automated release from CI/CD\"}' https://gitlab.phaidra.org/api/v4/projects/450/releases"
\ No newline at end of file
-- 
GitLab