![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
```
Install options:
```
--force overwrite hook if it exists
--commit-message-template COMMIT_MESSAGE_TEMPLATE
commit message when updating the version.
Default: Version bumped to {version}
```
`{version}` - placeholder for the new version.
# 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/booqoffsky/gitflow-pyproject-version-bumper",
"name": "gitflow-pyproject-version-bumper",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "gitflow,version,bumper,auto,pyproject,poetry,updater",
"author": "Grigory Bukovsky",
"author_email": "booqoffsky@yandex.ru",
"download_url": "https://files.pythonhosted.org/packages/f2/a4/4412559dbbd967157d0bad9f38ae65ede747f1aa36ff6399bfe54790d7bc/gitflow_pyproject_version_bumper-0.1.4.tar.gz",
"platform": null,
"description": "![python version](https://img.shields.io/pypi/pyversions/gitflow-pyproject-version-bumper?style=for-the-badge) \n[![version](https://img.shields.io/pypi/v/gitflow-pyproject-version-bumper?style=for-the-badge)](https://pypi.org/project/gitflow-pyproject-version-bumper/)\n\n# gitflow-pyproject-version-bumper\n> A git hook to automatically update the application version \n> in pyproject.toml when a release is started using [gitflow](https://github.com/nvie/gitflow).\n\n# Installation\nFrom PyPi:\n\n```\npip3 install gitflow-pyproject-version-bumper\npython3 -m gitflow_pyproject_version_bumper install\n```\n\nIf you want to install it from sources, try this:\n\n```\npython3 -m pip install poetry\npython3 -m pip install .\npython3 -m gitflow_pyproject_version_bumper install\n```\n\nInstall options:\n```\n --force overwrite hook if it exists\n --commit-message-template COMMIT_MESSAGE_TEMPLATE\n commit message when updating the version. \n Default: Version bumped to {version}\n```\n`{version}` - placeholder for the new version.\n\n# Usage\nJust start a release, as you usually do:\n`git flow release start 1.2.3`\n\nThat's it.\nThe app version in pyproject.toml has already been updated, \nand the change has been committed.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Automatic pyproject.toml based app version bumper",
"version": "0.1.4",
"project_urls": {
"Homepage": "https://github.com/booqoffsky/gitflow-pyproject-version-bumper",
"Repository": "https://github.com/booqoffsky/gitflow-pyproject-version-bumper"
},
"split_keywords": [
"gitflow",
"version",
"bumper",
"auto",
"pyproject",
"poetry",
"updater"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7a2e6a9eaa5a34d6c235fb01b1c3c082c3aec6a30422608dab8c1a1b80eeea6f",
"md5": "d5db80b518a70a353f0c17ce55b96c98",
"sha256": "35b872eeda574a0bcf5a244db4fa017c125d53d896cf96838a8950423ba91cbb"
},
"downloads": -1,
"filename": "gitflow_pyproject_version_bumper-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d5db80b518a70a353f0c17ce55b96c98",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 4670,
"upload_time": "2023-07-19T08:50:24",
"upload_time_iso_8601": "2023-07-19T08:50:24.457648Z",
"url": "https://files.pythonhosted.org/packages/7a/2e/6a9eaa5a34d6c235fb01b1c3c082c3aec6a30422608dab8c1a1b80eeea6f/gitflow_pyproject_version_bumper-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f2a44412559dbbd967157d0bad9f38ae65ede747f1aa36ff6399bfe54790d7bc",
"md5": "d7f95999e1adf8de45c2d3894845deaa",
"sha256": "9fe61c9dfec5d54ec522870713d6168b7534ae3a5c72d5a9b4bfac1c2fe6e38e"
},
"downloads": -1,
"filename": "gitflow_pyproject_version_bumper-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "d7f95999e1adf8de45c2d3894845deaa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 3476,
"upload_time": "2023-07-19T08:50:26",
"upload_time_iso_8601": "2023-07-19T08:50:26.063860Z",
"url": "https://files.pythonhosted.org/packages/f2/a4/4412559dbbd967157d0bad9f38ae65ede747f1aa36ff6399bfe54790d7bc/gitflow_pyproject_version_bumper-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-19 08:50:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "booqoffsky",
"github_project": "gitflow-pyproject-version-bumper",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "gitflow-pyproject-version-bumper"
}