From 6ce6194a1cc1dc11d4485ffd6aa5fb251e024a73 Mon Sep 17 00:00:00 2001
From: manuelpett <manuel.petit@inria.fr>
Date: Tue, 14 Jan 2025 20:49:35 +0100
Subject: [PATCH] Fix gitlab-ci YAML syntax

---
 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d2ae9d1..a1b457d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -115,13 +115,13 @@ create_release:
     - echo "Creating release and attaching tutorials.zip..."
     - echo "Using tag $CI_COMMIT_TAG"
     - curl --header "PRIVATE-TOKEN: $CI_JOB_TOKEN" --upload-file tutorials.zip "$CI_API_V4_URL/projects/$CI_PROJECT_ID/uploads" > upload_response.json
-    - UPLOAD_URL=$(jq -r '.url' upload_response.json)  # Extract the uploaded URL path
+    - UPLOAD_URL=$(jq -r '.url' upload_response.json)  # Extract the uploaded URL path using jq
     - echo "ZIP File uploaded and accessible at: $UPLOAD_URL"
     - release-cli create \
-      --name "Release TEST-$CI_COMMIT_REF_NAME" \
-      --tag-name "TEST-$CI_COMMIT_REF_NAME" \
-      --description $'## Test Release\nThis is a test release from the hotfix branch.'\
-      --assets-link "{\"name\":\"tutorials.zip\", \"url\":\"$CI_PROJECT_URL${UPLOAD_URL}\"}"
+        --name "Release TEST-$CI_COMMIT_REF_NAME" \
+        --tag-name "TEST-$CI_COMMIT_REF_NAME" \
+        --description $'## Test Release\nThis is a test release from the hotfix branch.' \
+        --assets-link "{\"name\":\"tutorials.zip\", \"url\":\"${CI_PROJECT_URL}${UPLOAD_URL}\"}"
   rules:
     - if: '$CI_COMMIT_TAG'  # Run only on tag pipelines, e.g., for release tags
       when: always
-- 
GitLab