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 pipx
export version=<NEW_VERSION>
pipx run hatch version ${version}
git tag -a ${version} -m {version}
rm -rf dist/*
rm -rf build/*
pipx run build .
pipx run twine check dist/*
pipx run twine upload dist/*
- Bump the patch version and add the 'dev' tag back to the end of the version tuple using
pipx run hatch version <DEV_VERSION>
git push upstream && git push upstream --tags