When doing a release, ensure the following steps are followed.
Ensure the CHANGELOG.md is up to date.
To update the version, we use setuptools_scm
and git tags. Run the following to tag the commit
to the version you are releasing:
git tag v0.2.0
git push origin main --tags
To release the package on PyPI, run:
venv/bin/pip install wheel twine
rm -rf build dist # Cleanup
venv/bin/python setup.py bdist_wheel sdist
venv/bin/twine upload dist/*