diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 487512434329ddefb70a29a587c6d915d2365847..34aded07c6a2fad51d51089298c79a0a18a90587 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