question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support CHANGELOG generating hook

See original GitHub issue

Is 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:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
eunjae-leecommented, Nov 2, 2019

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 😄

1reaction
kazuponcommented, Nov 1, 2019

@eunjae-lee Thank you for your workaround!

I’ve checked shipjs codes and behavior. I hope nextVersion argument of beforeCommitChanges, 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 by getChangelog. I hope it can be customized with the getChangelog hook.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found