This is an action for the discord library Pycord at https://github.com/Pycord-Development/pycord/ to simplify the release workflow.
It might work with other python projects as well, but no promises.
Feel free to clone this action and modify it to your own needs.