Skip to main content

Automatic pyproject.toml based app version bumper

Project description

python version version

gitflow-pyproject-version-bumper

A git hook to automatically update the application version in pyproject.toml when a release is started using 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitflow-pyproject-version-bumper-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file gitflow-pyproject-version-bumper-0.1.0.tar.gz.

File metadata

File hashes

Hashes for gitflow-pyproject-version-bumper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a67cfdcd30ccd31f598c988fe25998e441a44a2d4a82a78f5dcc6ea04fff72ff
MD5 3f926c326f5e9d0c6e19d70d43896044
BLAKE2b-256 c5b11b66d0e584ad748fd1ef02104394256987586c1d8585ba98d1617f7b29ab

See more details on using hashes here.

File details

Details for the file gitflow_pyproject_version_bumper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gitflow_pyproject_version_bumper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1e846a7bd63e25fe3cd8178077fd0285b2565c4bbf69b709efb05860f8a45c4
MD5 91409afba79e3798b1af7e666077e141
BLAKE2b-256 83b302aad78b72a51451aedc34ba9ebe88fb121878fef1fa8366cde3831a4ce8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page