-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Improve release note generation tool to handle tag prefixes in PR titles #6160
Comments
@sbueringer: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign |
I don't know if it makes sense to consider in this issue or not but usually in our release notes we group PR by area by adding a prefix, see e.g. https://github.com/kubernetes-sigs/cluster-api/releases |
That would be nice. The current version of our release note tool is based on: cmd := exec.Command("git", "rev-list", lastTag+"..HEAD", "--merges", "--pretty=format:%B") //nolint:gosec So right now we don't have the data to make it work. |
I was thinking of something much simpler for the first iteration. |
Ah got it. Sure. |
+1 to separate PRs. |
/milestone v1.2 |
@ShivamTyagi12345 Please let me know if there's something I/we can help you with. |
I lost track of this issue. Thanks for the Ping,Will Make the PR within a couple of hours |
Thank you! No rush |
@ShivamTyagi12345 are you still working on this one? |
@ShivamTyagi12345 Are you currently working on this issue? Please let us know if there's anything we can do to help. |
/unassign @ShivamTyagi12345 |
So now we shouldn't have to drop the |
Verified, it works, e.g.
For: #6606 |
Goal of this issue is to extend our release note generation tool to automatically trim "tag" prefixes of PR titles.
Some context:
We are currently using hack/tools/release to generate our release notes.
This tool lists all merged PRs and then builds a list of release notes by category (essentially a raw version of e.g.: https://github.com/kubernetes-sigs/cluster-api/releases/tag/v1.1.0).
For a while now we are creating cherry-pick PRs with the cherry-pick bot which usually are named something like
[release-1.1] ✨ Upgrade to Kubernetes 1.23.3 in Quickstart and CI
. Up until now we then manually retitled those PRs to drop the prefix so:We recently merged a change to the verify action to allow tag prefixes (kubernetes-sigs/kubebuilder-release-tools#43). In this issue we can now adjust our generation tool and adopt the new version of the action (we have to wait a bit until there's a new release for it)
So concrete tasks:
.github/workflows/verify.yml
(🌱 Allow tag prefixes in PR titles kubebuilder-release-tools#44 (comment))/area release
/kind feature
/good-first-issue
Please let me know if there are further questions.
The text was updated successfully, but these errors were encountered: