Skip to main content

poetry-plugin-bump

A plugin add command poetry command poetry bump patch/minor/major.

Just like npm version ..., It will bump version, commit code and create git tag.

poetry bump patch

will replace previous commands

poetry version ...
git add pyproject.toml
git commit -m '...'
git tag ...

Installation

supported version:

poetry version plugin version
>=1.2.0,<1.5.0 <0.1.0
>=1.5.0 >=0.1.0

Installation requires poetry 1.2.0+. To install this plugin run:

poetry self add poetry-plugin-bump

If your poetry is installed with pipx:

pipx inject poetry poetry-plugin-bump

For other methods of installing plugins see the poetry documentation.

Usage

Configuration is optional, but you can define config in pyproject.toml

default config:

[tool.poetry-plugin-bump]
commit_msg = 'bump: v{version}'
tag_name = 'v{version}'

this will define bump commit message and tag name.

License

MIT licensed, inspired by https://github.com/keattang/poetry-exec-plugin

Metadata

Release files for poetry-plugin-bump 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poetry-plugin-bump 0.1.6
File Size Uploaded
poetry_plugin_bump-0.1.6.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poetry-plugin-bump 0.1.6
File Interpreter ABI Platform
poetry_plugin_bump-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / poetry_plugin_bump-0.1.6.tar.gz

Download URL poetry_plugin_bump-0.1.6.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
408137c469bb841c057b2a98ed12d67d8776e6643e7ffd832d04e897cb3437da
BLAKE2b-256 checksum
How to use checksums
7d9512b49f434c5d5e0643c3579582c08262c06e96e87f4e679dbbc4a37713e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1016-azure

Release files / poetry_plugin_bump-0.1.6-py3-none-any.whl

Download URL poetry_plugin_bump-0.1.6-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
622ff7600cbf0734cc8eb133847dd27970c609151bea8280ffe39aad795a408e
BLAKE2b-256 checksum
How to use checksums
a45ba3253328eaf835816a6ef3888c6db19e1d4700856afc4cfc3ae082481d99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1016-azure

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page