In Python packaged projects where I work, I used to add a make register
command for create a new version of my package. This launch a script I wrote which make the following things:
- Get the version number written in package
- Create a git tag
- Push the tag to the upstream
- Create a package
- Upload ...