The recommended way to make a release is to use jupyter_releaser
.
pip install tbump twine build
git pull origin $(git branch --show-current)
git clean -dffx
echo "Enter new version"
read script_version
tbump ${script_version}
rm -rf dist
python -m build .
twine check dist/*
twine upload dist/*