- Update
pyproject.toml
with new version - Commit work
- Run
python -m build
N.B. Never run build unless you are sure you have changed the version inpyproject.toml
3. Upload to test PyPI
python -m twine upload --repository testpypi dist/colour_fx-<version>*
pip install -i https://test.pypi.org/simple/ colour_fx
- commit new distributions
- Tag version
git tag -a v<VERSION>
- Merge work to main branch
- Create new release on GitHub with same version
6. Upload to PyPI
twine upload dist/colour_fx-<version>*