*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 0bf40816 authored by Moser, Maximilian's avatar Moser, Maximilian
Browse files

Add CI/CD job for publishing the package on PyPI

* triggered by version tags
parent 03192af2
No related branches found
No related tags found
No related merge requests found
......@@ -15,3 +15,11 @@ sonarqube-check:
- master
- merge_requests
pypi-release:
rules:
- if: '$CI_COMMIT_TAG =~ /^v\d+/'
script:
- pip3 install --upgrade pip build twine
- rm -f dist/*
- python3 -m build
- TWINE_USERNAME=${PYPI_USER} TWINE_PASSWORD=${PYPI_PASSWORD} python3 -m twine upload --skip-existing --non-interactive dist/*
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