-
Notifications
You must be signed in to change notification settings - Fork 233
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
PROCESS CHANGE: use GitHub native release notes generator #1499
Comments
+1 from me |
+1 |
I'd like to propose a second option for streamlining the release process. Having utilized Goreleaser extensively in the past years, and it's proved to be a great open source tool to manage and automate releases. With Goreleaser, we gain the following benefits:
|
@converge thanks for the recommendation! AFAIK some parts of the project has previously used This change of proposal aims to simplify the part of publishing the release notes. The motivation is quiet simply our default PR template doesn't play well with release note tool we utilize currently, and current native Github feature seems good enough. |
Expected benefits
Currently we use Kubernetes
release-notes
tool to generate release notes markdown files.The flow of updating release note:
There's an issue with current default PR template. Whenever there are multiple code blocks, it's parsed as code block until the last closing element. Hence that's producing very poorly formatted outputs.
Examples and discussion per Slack threads:
https://cloud-native.slack.com/archives/C04LKEZUXEE/p1706185040469779
https://cloud-native.slack.com/archives/C04LY4Y3EHF/p1706177567962819
With GH action we can keep very similar format, being sorted with existing labels already. We might drop dependency bumps from the notes. I'm not sure if there is a lot value in it, since mostly they are hidden as being too long.
It's possible to publish release with generated notes included. Either with
gh
cli or API call.https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release
In this flow we could drop manual trigger of release notes and iterate on the included one:
Expected costs
Changing to GH generated release notes should be quicker and less demanding on release leads. The cost of introducing the change are approax. a few days/week to introduce the template, implement changes on
release.sh
script and test it.Example config:
https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuration-options
Timeframe
Next release - April '24 very likely.
I'm willing to drive the process.
The text was updated successfully, but these errors were encountered: