The recommended way to make a release is to use jupyter_releaser
.
To create a manual release, perform the following steps:
pip install hatch twine
git pull origin $(git branch --show-current)
git clean -dffx
echo "Enter new version"
read new_version
hatch version ${new_version}
git tag -a ${new_version} -m "Release ${new_version}"
rm -rf dist
hatch build
twine check dist/*
twine upload dist/*