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 hatch twine
export version=<NEW_VERSION>
hatch version ${version}
git push upstream && git push upstream --tags
rm -rf dist/*
rm -rf build/*
hatch build .
twine upload dist/*