mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-06-25 04:01:09 +02:00
build: upgraded to sem release 9
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user