obsah is an Ansible wrapper that will help you to build CLI applications by writing Ansible playbooks.
python3ansible
First, install dependencies, either from Fedora:
$ sudo dnf install bumpversion
Or PyPI:
$ pip install bump2version
Now bump the version based on the type of update (e.g. major, minor, patch):
bump2version <type>
Finally, open a pull request with release.