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.3.tar.gz (3.6 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.3.tar.gz.

File metadata

File hashes

Hashes for gitflow-pyproject-version-bumper-0.1.3.tar.gz
Algorithm Hash digest
SHA256 12aa424b8f38ce4698caf3c3ce3e0c9c5ae0e92682796498dadab56e1316464e
MD5 3dfc561cc0afb929588bd97ee878594d
BLAKE2b-256 12c699c3e880fac7540ee8dea6c92cef0bcac4facef3a771ac61aa3b18cad1f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gitflow_pyproject_version_bumper-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e73e617eeb98a299f1b8966f38b2ff1ea214b28586832a57d55bf43f8b9f2822
MD5 96fc15dfeb181475862683f353a588de
BLAKE2b-256 55c6e91139745e6f3b6932a8de7e26dec7bde0a70486d5bf9b6d429262b8f012

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