A very simple script to generate a changelog from a repo with Conventional-Commits-compatible commit messages.
Project description
gen_changelog
gen_changelog is a very simple script that generates a changelog from a repository with commit messages compatible with Conventional Commits. The main difference of this script from gitchangelog is that this script will generate sections from dates/months instead of git tags of versions.
Usage
Just run it in the root of your repository:
$ ./gen_changelog "Your project's name"
You're done.
Customization
You can customize the sections you want in the changelog by passing the --categories
parameter:
$ ./gen_changelog --categories "add:Added|rem:Removed|chg:Changed|cs:CS:GO stuff"
With pre-commit
To use this with pre-commit, add this to your .pre-commit-config.yaml
:
- repo: https://gitlab.com/stavros/gen_changelog.git
rev: ccc6fa1dbe1a937c9b729e356b5fd91bf9d59ca4
hooks:
- id: gen-changelog
stages: [commit]
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
gen_changelog-0.1.1.tar.gz
(15.2 kB
view hashes)
Built Distribution
Close
Hashes for gen_changelog-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8c7099f21753a5223e4036a6bf29a67d55e90f7165d463ef75d790985ddc855 |
|
MD5 | 9ed2ae3a22f5911aac4f6f0528dc219c |
|
BLAKE2b-256 | 890021391d11aa43f888a5192f473739370d45544db5c6c905653cf91661e79a |