Skip to content
Snippets Groups Projects
Commit 81173ca2 authored by Martin Lange's avatar Martin Lange
Browse files

add CI job to publish on PyPI

parent 977eb617
No related branches found
No related tags found
1 merge request!198PyPI release
Pipeline #130924 passed with stages
in 3 minutes and 22 seconds
......@@ -4,6 +4,7 @@ stages:
- test
- build
- deploy
- release
check:
stage: test
......@@ -56,3 +57,12 @@ pages:
- public
only:
- main
pypi_release:
stage: release
script:
- pip install build twine
- python -m build
- python -m twine upload -u __token__ -p ${PYPI_TOKEN} dist/*
only:
- 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