-
Notifications
You must be signed in to change notification settings - Fork 324
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
Generating release changelog from non-master branch commit history #116
Comments
Hello @durera, there aren't any options to choose a branch right now. I think is a very good idea tho! Definitely going into the backlog 🎉 |
Great, I’ll have a look and try wing a PR your way .. I suspect it’s relatively simply change involving adding the sha=branchname param in the method in gren that looks up the commits and defaulting to master when not set. |
@durera indeed, all the options coming from the command are in See how it goes :) |
@durera did you make any progress on this by chance? |
@durera any updates on this? |
I'm running in to this problem, but a slightly different flavor. I have a branch for the 2.x series of releases and the current 3.x releases are on |
It seems that the correct solution would be to return the entire set of PRs (commits, whatever) that follows the same |
Further testing and experimentation indicates that the only way to reliably do this would be to take the two tags in the range object and make another API call /repos/{owner}/{repo}/compare/{basehead}. Then, you can either use the list of commits directly from that call, or match the I'd love to hear from some maintainers if such an approach will land in this project. |
I think this project may do what you are looking for https://github.com/OpenHFT/Chronicle-Release-Notes |
Thank you for the suggestion, however, that requires Java, so isn't really an option. I've actually got everything working and am just waiting on some PRs to be approved and landed. |
We have a system where the latest major release is always from master branch, but we also maintain old major releases in branches such v1.x, v2.x etc, etc. If I run gren for a release from master everything works as I'd expect. The release notes for the latest major release are generated and include all the commits from master branch, but if I want to make a new oldversion.x.y release I can't work out how to make gren use the commits from the appropriate branch rather than master. I couldn't see anything in the docs: https://github-tools.github.io/github-release-notes/options.html
Is this possible and I've just overlooked the option I need?
Invoking gren like this FWIW:
The text was updated successfully, but these errors were encountered: