Skip to content
Snippets Groups Projects
Verified Commit 30f468a0 authored by Martin Weise's avatar Martin Weise
Browse files

Give up, use script

parent 5987febf
No related branches found
No related tags found
6 merge requests!345Updated docs and endpoints:,!341Fixed mapping problem where UK and FK share columns they are inserted,!339Fixed mapping problem where UK and FK share columns they are inserted,!338Fixed mapping problem where UK and FK share columns they are inserted,!334Fixed mapping problem where UK and FK share columns they are inserted,!333Fixed mapping problem where UK and FK share columns they are inserted
...@@ -432,4 +432,4 @@ release-gitlab: ...@@ -432,4 +432,4 @@ release-gitlab:
before_script: before_script:
- "apk add bash curl" - "apk add bash curl"
script: script:
- bash -ec "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" - bash ./.gitlab/release-gitlab.sh
\ No newline at end of file \ No newline at end of file
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment