support CHANGELOG generating hook
See original GitHub issueIs your feature request related to a problem? Please describe.
In shipjs, CHANGELOG is generated with conventional-changelog-cli.
CHANGELOG generation can be customized by setting conventionalChangelogArgs
.
However, if CHANGELOG can be generated by another way than conventional-changelog-cli, it may be convenient to use other tools (e.g. lerna-changelog
).
Describe the solution you’d like
module.exports = {
generateChangelog: ({ config }) => {
// something to do ...
}
}
Additional context PR-based changelog generator https://github.com/lerna/lerna-changelog
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Automatic CHANGELOG Git Hook - GitHub
A simple bash script to automatically generate a CHANGELOG.md file with every git commit. How to use it. Copy the file post-commit into...
Read more >Generating changelog - The newline Guide to Creating a ...
Another thing that we need to do is add the generation of changelogs. ... This page is a preview of The newline Guide...
Read more >How To Automatically Generate A Helpful Changelog From ...
Follow the Conventional Commits Specification in your repository. We will use @commitlint/config-conventional to enforce this via Git hooks. Use standard- ...
Read more >CHANGELOG - External Hooks
Git Pre- and Post-receive Hooks for Bitbucket. We support Bitbucket Data Center.
Read more >generate changelog from git log including the current commit ...
Yes, you can add generated files automatically on the commit using git hooks! But it requires a tricky script. Here you can find...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @kazupon , thanks for the detailed explanation. I do agree with the points. I will work on it and let you know how it goes.
Thanks 😄
@eunjae-lee Thank you for your workaround!
I’ve checked shipjs codes and behavior. I hope
nextVersion
argument ofbeforeCommitChanges
, because it’s convenient as meta info with changelog generator.And also, I’ve noticed the changelog generator have some different format. e.g.
So, In GitHub release of
shipjs trigger
, I need changelog extraction hook. In this code, changelog is extracted bygetChangelog
. I hope it can be customized with thegetChangelog
hook.