Generate the changelog between now and the last tag,
based on conventional commit.
Explore the docs »
Report Bug
·
Request Feature
The provided script generate a changelog, based on Angular commit message convention.
The changelog is based on all the commits since the last tag. It relies on the Angular commit message convention, to display some nice information. Changes are grouped by type and scope.
To get a local copy up and running follow these steps.
-
Install python3.12
sudo apt install python3
-
Install make for development
sudo apt install make
-
Clone the changelog-generator
git clone https://github.com/lumapps/changelog-generator.git
-
Install the dependancies
That's all, your ready to go !
make
Generate the changelog since the last tag
python3 ./changelog_generator
To enable the action simply create the .github/workflows/release.yml file with the following content:
name: Create Release
on:
push:
tags:
- '[0-9]+-[0-9]+-[0-9]+'
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Generate changelog
id: generate_changelog
uses: lumapps/changelog-generator@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_PREFIX: # add a prefix here if you have a `prefix/semver` pattern in your repo
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.generate_changelog.outputs.changelog }}
draft: false
prerelease: false
See the open issues for a list of proposed features (and known issues).
- list all the commit since the last tag
- generate the changelog with a template
- group by type and scope
- properly handle rc version
- properly handle revert commit
- allow hiding some types
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Run the tests (
make tests
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a pull request
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/lumapps/changelog-generator
Icons made by Freepik from www.flaticon.com