I\'ve just started an open source Python project that I hope might be popular one day. At the moment to release a new version I have to do a few things.
I automated this for one of my open-source tools. It‘s all in the file manage.py: https://github.com/tfeldmann/organize/blob/master/manage.py
My project uses poetry for uploading to pypi, so this looks a bit different but should be a good starting point. It also manages the changelog and creates all releases.
python manage.py version
steps:
## WIP
in changelog.md and replaces it with current version and todays date.python manage.py publish
steps:
The scripts asks for confirmation for each step so things don't get out of hand and prompts for your github and pypi passwords as soon as they are needed.