A CLI tool to manage project versioning and changelogs with Keep a Changelog compliance.
Project description
changelogbump
A command-line tool that updates a project's changelog and bumps its semantic version according to Keep a Changelog conventions.
Features
- Initializes a new CHANGELOG.md file with a standard header.
- Increments the project version (major, minor, or patch) and updates:
- The pyproject.toml version.
- The changelog, prompting for added, changed, or removed entries.
- Helps maintain strict adherence to semantic versioning.
Requirements
- pyproject.toml
Installation
- Ensure you have Python 3.11 or newer installed.
- Install via pip:
pip install changelogbump
Usage
From your terminal, run:
-
Initialize a fresh changelog in the project root (if not present):
changelogbump init -
Add and bump your version, specifying the part to increment:
changelogbump add --major changelogbump add --minor changelogbump add --patch
-
Provide a summary for the version:
changelogbump add --patch --summary "Small bug fixes"
-
Check the currently installed version of changelogbump:
changelogbump version
You will be prompted for items to add under different sections (Added, Changed, Removed), which are appended to the changelog.
Contributing
Pull requests, issues, and feature requests are welcome! Feel free to check out the issues page.
License
This project is licensed under the MIT License.
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 changelogbump-0.4.0.tar.gz.
File metadata
- Download URL: changelogbump-0.4.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a3859ae40c136bba078a40fbb0656cae2bb61243963bef5df2ef6770e336ae7
|
|
| MD5 |
2abbc92a8c4584a0f7fd6d6df485dc1c
|
|
| BLAKE2b-256 |
c988dbfcf437aea3f7ed7396f34ee698c1589756765ef8e0680cc3d0aa5f225b
|
Provenance
The following attestation bundles were made for changelogbump-0.4.0.tar.gz:
Publisher:
python-publish.yml on muad-dweeb/ChangelogBump
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
changelogbump-0.4.0.tar.gz -
Subject digest:
1a3859ae40c136bba078a40fbb0656cae2bb61243963bef5df2ef6770e336ae7 - Sigstore transparency entry: 557093691
- Sigstore integration time:
-
Permalink:
muad-dweeb/ChangelogBump@dc3b93a147850c64e5bc5dbfee090da156e5d2ae -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/muad-dweeb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@dc3b93a147850c64e5bc5dbfee090da156e5d2ae -
Trigger Event:
release
-
Statement type:
File details
Details for the file changelogbump-0.4.0-py3-none-any.whl.
File metadata
- Download URL: changelogbump-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35609785f1366f264ac2355e032767669e96752ad09df9eed4c071519951e893
|
|
| MD5 |
4824d4ee5c3335f92692142b6d7b29b3
|
|
| BLAKE2b-256 |
a874cac49b9a81d77079b2f45d1f653377a371c61b2b6761ca08ba0329a0cd32
|
Provenance
The following attestation bundles were made for changelogbump-0.4.0-py3-none-any.whl:
Publisher:
python-publish.yml on muad-dweeb/ChangelogBump
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
changelogbump-0.4.0-py3-none-any.whl -
Subject digest:
35609785f1366f264ac2355e032767669e96752ad09df9eed4c071519951e893 - Sigstore transparency entry: 557093751
- Sigstore integration time:
-
Permalink:
muad-dweeb/ChangelogBump@dc3b93a147850c64e5bc5dbfee090da156e5d2ae -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/muad-dweeb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@dc3b93a147850c64e5bc5dbfee090da156e5d2ae -
Trigger Event:
release
-
Statement type: