Skip to main content

Automatic version bumping for Keep-a-Changelog style Changelog files.

Project description

KAC (Keep-a-Changelog)

A command line tool for bumping Changelogs that follow the Keep A Changelog standard.

Install

pip install kac

Run

Run kac in the same directory as your Changelog, or pass the filepath as an argument. By default, kac looks for a file called CHANGELOG.md (case-insensitive).

Example

Assuming you have a Changelog file at v3.6.2 name CHANGELOG.md in your current directory.

  1. Run kac
    $ kac
    
  2. Choose a bump version
    ? Please select a new version (currently v3.6.2)  (Use arrow keys)
       v3.6.3
     » v3.7.0
       v4.0.0
    
  3. Confirm version bump (Y / Enter)
    ? Bump Changelog to v3.7.0? (Y/n)
    
  4. Changelog bumped
    Changelog bumped to v3.7.0!
    

Limitations

  • Only works for semver
  • Only supports versions in the MAJOR.MINOR.PATCH format. A beta version ending in -beta, for example, will fail.
  • Requires Python 3.8.0

To-Do

  • Add support for generating an empty Changelog template
  • Undo bump
  • Support labels for pre-release and build metadata

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

kac-0.1.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distributions

kac-0.1.1-py3.8.egg (4.6 kB view hashes)

Uploaded Source

kac-0.1.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

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