Metadata-Version: 2.1
Name: gitflow-pyproject-version-bumper
Version: 0.1.0
Summary: Automatic pyproject.toml based app version bumper
Home-page: https://github.com/booqoffsky/gitflow-pyproject-version-bumper
License: MIT
Keywords: gitflow,version,bumper,auto,pyproject,poetry,updater
Author: Grigory Bukovsky
Author-email: booqoffsky@yandex.ru
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: GitPython (>=3.1.31,<4.0.0)
Requires-Dist: tomlkit (>=0.11.7,<0.12.0)
Project-URL: Repository, https://github.com/booqoffsky/gitflow-pyproject-version-bumper
Description-Content-Type: text/markdown

![python version](https://img.shields.io/pypi/pyversions/gitflow-pyproject-version-bumper?style=for-the-badge) 
[![version](https://img.shields.io/pypi/v/gitflow-pyproject-version-bumper?style=for-the-badge)](https://pypi.org/project/gitflow-pyproject-version-bumper/)

# gitflow-pyproject-version-bumper
> A git hook to automatically update the application version 
> in pyproject.toml when a release is started using [gitflow](https://github.com/nvie/gitflow).

# Installation
From PyPi:

```
pip3 install gitflow-pyproject-version-bumper
python3 -m gitflow-pyproject-version-bumper install
```

If you want to install it from sources, try this:

```
python3 -m pip install poetry
python3 -m pip install .
python3 -m gitflow_pyproject_version_bumper install
```

# Usage
Just start a release, as you usually do:
`git flow release start 1.2.3`

That's it.
The app version in pyproject.toml has already been updated, 
and the change has been committed.

