Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 42789cc9 authored by PETIT Manuel's avatar PETIT Manuel
Browse files

Fix gitlab-ci YAML syntax

parent af5a3d8e
No related branches found
No related tags found
No related merge requests found
Pipeline #1097430 failed
......@@ -108,7 +108,7 @@ create_release:
dependencies:
- zip_tutorials # Depend on the zip_tutorials job
before_script:
- apt-get update && apt-get install curl -y
- apt-get update && apt-get install curl jq -y
- curl -L --silent --location --output /usr/local/bin/release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64"
- chmod +x /usr/local/bin/release-cli
script:
......@@ -120,7 +120,7 @@ create_release:
- 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.'"\
--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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment