- Create new branch with name `release/[release_number]
release_numberformat:major.minor.subminor(e.g. 0.1.2) for main versions, ormajor.minor.subminor.patchnumberif needed, ormajor.minor.subminorbbetaversion(e.g. 0.1.1b3) for testing release
- Set release number
2. in
pleque/__init__.py, 3. minor release number indocs/source/conf.py(e.g. 0.1) - Create push request to master/develop on GitLab.
- Wait for the approval.
- Tag the commit as
v[release_number] - Upload the release to pip:
- run
bashinplequehome (checkout to master/develop) - Prepare distribution in
distdirectory:uv build
- Upload the distribution to PyPI (in dist/ directory must be only one release):
- Standard distribution:
twine upload dist/*- Testing distribution:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*- Before the first release, configure a PyPI token for
uvor upload withtwineusing a token from your environment.
- Try to download it and install it via
pip.
- run
- Check whether the documentation on
readthedocsis build without error. - Breath normally.