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

Added logic to release gitlab release in pipeline

parent 77bf2170
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
......@@ -421,3 +421,15 @@ release-libs:
script:
- bash ./lib/python/package.sh
- bash ./lib/python/release.sh
release-gitlab:
stage: release
image: docker.io/alpine:3.18
when: manual
only:
refs:
- /^release-.*/
before_script:
- "apk add bash curl"
script:
- "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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment