Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 797 Bytes

DEPLOY.md

File metadata and controls

24 lines (18 loc) · 797 Bytes

How to deploy new package version

1. Tag new version

2. Create new distribution

  • Run python -m build N.B. Never run build unless you are sure you have changed the version in pyproject.toml

3. Upload to test PyPI

  • python -m twine upload --repository testpypi dist/colour_fx-<version>*

4. Test download

  • pip install -i https://test.pypi.org/simple/ colour_fx

5. Complete merge

  • 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>*