networknt / light-bot

A microservice based DevOps agent that handles multiple repositories and dependencies
Apache License 2.0
7 stars 3 forks source link

generate changelog from release branch #69

Closed stevehu closed 5 years ago

stevehu commented 5 years ago

Previously, we are using https://github.com/github-changelog-generator/github-changelog-generator/issues to generate the changelog for each repository. After we have release branches, we cannot use the tool anymore as it doesn't support changelog generation from release branches. I have searched on the GitHub and couldn't find anything to meet our requirement. It looks like we have to build this task in light-bot.

The idea is to get the git log from the release branch until the last release tag. This is the list of issues resolved in the next release. We can then access GitHub API to get the labels for each issue to format the changelog. The first step is to get a list of issues.