Skip to content

doc: added git-cliff for easy changelog generation#30

Merged
guacamole merged 1 commit intomasterfrom
changelog-generation
Sep 14, 2021
Merged

doc: added git-cliff for easy changelog generation#30
guacamole merged 1 commit intomasterfrom
changelog-generation

Conversation

@jay-dee7
Copy link
Member

Easy Changelog generation

We can use git-cliff but this needs to be installed on the system first. On MacOS, if you have rust toolchain installed, run the following command to install git-cliff:

  • cargo install git-cliff

git-cliff uses a config.toml file present at the root directory of the project and generates a changelog as follows:

  • git cliff -vv -u -o CHANGELOG.md
  • git cliff -vv -u --prepend CHANGELOG.md

Please note that -u flag is for unreleased projects, once we have tags and releases going on, we can add a github action to automate this

Signed-off-by: jay-dee7 [email protected]

@jay-dee7 jay-dee7 requested a review from guacamole September 14, 2021 02:40
@jay-dee7 jay-dee7 self-assigned this Sep 14, 2021
git-cliff uses a config.toml file present at the root directory of the
project and generates a changelog as follows:
```git cliff -vv -u -o CHANGELOG.md```

Signed-off-by: jay-dee7 <[email protected]>
@jay-dee7 jay-dee7 force-pushed the changelog-generation branch from 2d76829 to 3495e91 Compare September 14, 2021 02:46
Copy link
Member

@guacamole guacamole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

@guacamole guacamole merged commit 1aa1e98 into master Sep 14, 2021
@guacamole guacamole deleted the changelog-generation branch September 14, 2021 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants