Update the version
nixnet/VERSIONREADME.rst- Create release notes (clog-cli can help)
git clean -ndxto see what files to clean upgit clean -fdxto clean up files- Include release notes in commit messaage
- Publish a PR
Tagging a release
- (on main)
git tag -a v<X>.<Y>.<Z>with the release notes as the message git push <UPSTREAM> main --tag v<X>.<Y>.<Z>- Go to https://github.com/ni/nixnet-python/releases
- The new release should be there, but it will be poorly formatted.
- Draft a new release. Use the same tag version. You don't need to attach any new files.
Uploading packages to PyPI
rm -Rf distpython setup.py sdistpip install wheelpython setup.py bdist_wheel --universalpip install twinetwine upload dist/* -u <PyPI username> -p <PyPI password>