Skip to content
Snippets Groups Projects
Commit 38da67df authored by Mayr, Hannes's avatar Mayr, Hannes
Browse files

Run packaging and gitlab release on creation of a new tag.

parent 461cb90e
No related branches found
No related tags found
1 merge request!55Resolve "Automated build"
Pipeline #870952 failed
......@@ -67,7 +67,6 @@ pages:
- public
rules:
- if: "$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
- when: manual
sast:
before_script:
......@@ -95,14 +94,12 @@ include:
build_and_upload:
stage: package
needs: []
script:
- pip install build twine
- python3 -m build
- TWINE_PASSWORD=${CI_PYPI_TOKEN} TWINE_USERNAME=__token__ python3 -m twine upload --repository testpypi dist/*
rules:
- if: "$CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
- when: manual
- if: $CI_COMMIT_TAG
release_job:
stage: release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment