build: upgraded to sem release 9

This commit is contained in:
2024-04-12 19:04:54 +02:00
parent 65566bc52a
commit 0864c0c049
2 changed files with 72 additions and 8 deletions

View File

@ -144,15 +144,13 @@ semver:
- git fetch --tags
- git tag
# build
- pip install python-semantic-release==7.* wheel
# build and publish package
- pip install python-semantic-release==9.* wheel build twine
- export GL_TOKEN=$CI_UPDATES
- export REPOSITORY_USERNAME=__token__
- export REPOSITORY_PASSWORD=$CI_PYPI_TOKEN
- >
semantic-release publish -v DEBUG
-D version_toml=./pyproject.toml:project.version
-D hvcs=gitlab
- semantic-release -vv version
- python -m build
- twine upload dist/* -u __token__ -p $CI_PYPI_TOKEN
- semantic-release publish
allow_failure: false
rules: