-
Notifications
You must be signed in to change notification settings - Fork 508
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
Feature: automated semver releases #982
Comments
how do we handle automated release notes? |
There was a discussion about automated release note generation, can't seem to find the issue/thread for it. Gist was that Kubernetes does something like this already, so we could do it too. @naveensrinivasan may know more about this. But, to your point, yes we should also consider adding support for automated release note generation also. Let's create a separate issue for automated release note generation? Scope of the issue can be:
|
My main concern/question is how we automate release notes that are human-consumable. A list of merged PRs is not very eligible for human. Unless we think it's overkill for minor releases. wdut? |
Sorry it was not Kubernetes, but |
Stale issue message |
My team manages this tool: https://github.com/kubernetes/release/tree/master/cmd/release-notes
While I haven't personally used it, the tool also supports supplying your own go template to enable further formatting. One thing to note is that it expects a code-fenced block in the PR description (with
The idea here being that while we can't always expect the commit history to be perfect (maybe lacking convention or from a new contributor with multiple commits that need squashing), as maintainers we have access to edit the PR descriptions to ensure the Some examples: kubernetes/release#2370, kubernetes/release#2330, kubernetes/release#2326 Similar to how PR titles are validated here, in several Kubernetes repos we automatically block PRs without either:
|
@justaugustus would the work that you are doing on #1677 make it feasible to generate automated release notes? |
We use a webhook to create
stable
docker images when a release test run successfully completes. Similarly we should have a webhook, such that when prod cron job completes successfully, we use semver specification to automatically create a new tag and release. On a high-level this is what the webhook needs to do:latestTag
of Scorecard repo and thecommitSHA
of the successful run to get all commits in-between.:sparkles:
,:bug:
,:book:
etc.) decide whether to increase the PATCH version or the MINOR version. MAJOR version changes will be done manually and need not be handled through the webhook.https://github.com/go-git/go-git might come in handy for doing the Git operation in Golang.
The text was updated successfully, but these errors were encountered: