Fix release notes generated for rc.0 tag #12277
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
Indicates an issue lacks a `priority/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What steps did you take and what happened?
Release noted generated for
v1.10.0-rc.0
is generated by comparing the changes betweentags/v1.9.0 and heads/main
But it should be betweentags/v1.9.0 and heads/release-1.10
.Adding branch here fixed the issue, for ex:
--branch release-1.10
. So the branch name should be dynamics, probably we can use variableRELEASE_TAG
to generate release branch.What did you expect to happen?
It should Computing diff between tags/v1.9.0 and heads/release-1.10
Cluster API version
v1.10
Kubernetes version
No response
Anything else you would like to add?
No response
Label(s) to be applied
/kind bug
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.
The text was updated successfully, but these errors were encountered: