The recommended way to make a release is to use jupyter_releaser
.
- First check that the CHANGELOG.md is up to date for the next release version
- Install packaging requirements:
pip install tbump build tomlkit==0.7.0
export version=<NEW_VERSION>
tbump ${version} --no-push
git push upstream && git push upstream --tags
rm -rf dist/*
rm -rf build/*
python -m build .
twine upload dist/*