- Update version in
setup.cfg
- Create new branch and push to Github
- Ensure nothing is left from old builds:
rm -rf dist; rm -rf libsigopt.egg-info/
- Build package:
python -m build
twine upload dist/*
- Follow twine prompts to upload
- Tag released code on github and merge into main
ex:
git tag -a v0.0.1 -m "code for v0.0.1"
and push:git push origin tag v0.0.1