-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] How to generate changelog by conventional commits? #727
Comments
There is currently no automatic way to do this - but a script could be written to do this. How would one know when the last release has happened? How to limit the range of the commits that should be "converted" to changeset files? |
I think it could be possible to add a new
Also, it might be possible to add a "strict" option that is disabled by default, which would remove commits that do not respect the convention. If disabled there would be a fallback on the current sections (major, minor and patch). A new changesets/packages/apply-release-plan/src/get-changelog-entry.ts Lines 101 to 108 in c68536e
|
Would love for this as a feature - is the only thing keeping us on lerna-lite. As a team we're pretty hot on using conventional for all our commits (wips included), so ideally our workflow would be to merge the branch as is and for highest commit's type to be used as the version bump and then all commits bundled to the appropriate sections of the changelog :) |
I think a good compromise that might reduce complexity would be to add a flag to the |
Any update? |
@jindong-zhannng this script is work for me. |
Affected Packages
@changesets/cli
Problem
Now, I have a repo with some
angular conventional commits
, and I want to switch tochangesets
, how can I automatically generate some changelogs for each packages?eg: https://github.com/conventional-changelog/conventional-changelog
Proposed solution
Automatically generate by conventional commits
The text was updated successfully, but these errors were encountered: