A lightweight tool to bump package versions
Project description
Lightweight Version Release Manager
Details
This tool is intended as a very light version of bump-my-version. It does not provide semantic version generation, instead relying on the version specifically being supplied. This is due to this projects intention of augmenting git-cliff, which provides changelog generation from conventional commits as well as semantic versioning, but does not provide file update functionality or commit/tag support.
A basic pyproject.toml configuration can be as simple as:
[tool.bumpversion]
current_version = "0.0.0"
commit_extra = ["CHANGELOG.md"]
Bumping the version
Run bumpversion VERSION_STRING to update configured files with the new
version string, commit and tag the release.
If using in conjunction with git-cliff you can output the latest version
string from the cli, and provide it to bumpversion-slim.
> git-cliff --config pyproject.toml --bump -o CHANGELOG.md
> VERSION=$(git-cliff --bumped-version)
> bumpversion $VERSION
Installation
pip install bumpversion-slim
or clone this repo and install with invoke/uv.
invoke install-dev
Contributing
This project uses pre-commit hooks, please run invoke install-dev after
cloning to install dev dependencies and commit hooks.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bumpversion_slim-0.1.1.tar.gz.
File metadata
- Download URL: bumpversion_slim-0.1.1.tar.gz
- Upload date:
- Size: 62.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14f20b36e623c8f265a94ff3a7f71c34bda5aa4207c96b90bfcea6299d5f138a
|
|
| MD5 |
6baa57877d12fb5e59145db54638a5ed
|
|
| BLAKE2b-256 |
abc1a418c8ad45a995a9e18da6e5ecbc9550580245c75007dcb863b061601c23
|
File details
Details for the file bumpversion_slim-0.1.1-py3-none-any.whl.
File metadata
- Download URL: bumpversion_slim-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dab72e7f1bde75eaf1386d2af31137a2a373de130297d907b6fce40fefc4a0c5
|
|
| MD5 |
e4bb441bc1e7a94230e06b90c18d3aad
|
|
| BLAKE2b-256 |
e56ef95f5e3e4a6cb0266211ad425d7572ad559f8bcc749eccfb635d896781da
|