-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for generating release note from branch
Previously, the generate command would only work for generating a release note using the latest release created from the repository. This was changed so that release branches that create older releases can still generate release notes from the release branch. For example, if the latest release is v6.0.0 and I have a v5.5.x release branch with the latest release on that branch being v5.5.5, I can generate a release note for that release branch for my next release of v5.5.6. It achieves this by grabbing all the last 50 releases made to the repository and then getting the commit SHAs that are tagged for those releases. It then goes through all the commits on the branch and tries to match it to one of the 50 commit release SHAs. If it finds one, it will fetch all the prs made after that commit. Also changed some formatting of the release note template so that it will not bold all the text for each pr. Signed-off-by: Clara Fu <[email protected]> Co-authored-by: Alex Suraci <[email protected]>
- Loading branch information
Showing
5 changed files
with
97 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters