The recommended way to make a release is to use jupyter_releaser
.
To create a manual release, perform the following steps:
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 .
echo "Enter dev version"
read dev_version
tbump ${dev_version} --no-tag
git push origin $(git branch --show-current)
twine check dist/*
twine upload dist/*