How to publish a new version of the package ?
Last tests
- checkout main and run
make all
Local tests
| # tag with the version you want
git tag v0.3.0b0
uv build
# delete tag with the version you want
git tag -d v0.3.0b0
# or use make command
make version=v0.3.0b0 build-local
|
Note
Don't forget to create a release/vX.Y.Z/from-main branch for the last changes
| uv venv .venv_release
source .venv_release/bin/activate
uv pip install dist/mechaphlowers-0.3.0b0-py3-none-any.whl
|
Automatic release tests
Specific tests for release are available and can be triggered through make recipe.
The tests triggered are marked via pytest mark release.
Check and complete the documentation if needed
Push to github
| # tag with the version you want
git tag v0.3.0b0
# push tag
git push --tags
|
- On github run Action 🚀 Build upload on test-pypi
- merge your release branch
- If success you can replay the tests on the wheel delpoyed
- make a release on github