-
-
Notifications
You must be signed in to change notification settings - Fork 281
[Feature Request] Add command to generate only recent changelog changes #225
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
Comments
It looks like |
I think this can be achieved by using cz changelog --incremental --dry-run or if you know the previous version: cz changelog --dry-run --start-rev 0.1.0 Let me know if this covers your use case, or if it fails somewhere, I tried it locally and it seems to work. |
This will generate the changelog for the next version. I'm trying to get the changelog for the most recent version.
I don't think there's any way to programatically know the previous version. This would work, if |
Thank you for tackling this, however I'm not sure the solution proposed in #359 fixes my issue. The workflows for generating a github release are separate than those bumping the version since they have different run conditions. As you can see in my initial issue report, the release workflow would only run if it sees a new version tag. By this time, The solution to this feature request would require an option to the |
Any chance this could be looked at again? |
Would something like #399 be useful? |
Yes, that looks like it would solve my issue. |
Uh oh!
There was an error while loading. Please reload this page.
Description
So a normal workflow would be to automatically release to GitHub after a new version tag is created. That part works, but there is no good way to include the recent changelog additions as the body paragraph of the GitHub release.
To release with github actions, you do something like
Currently, and please correct me if I'm wrong, there is no way to automatically fill "body" with the recent additions to the changelog
Possible Solution
Introduce an option to
cz changelog
that would allow to to generate the most recent version so you could say something like this:The text was updated successfully, but these errors were encountered: