Skip to content

Commit ce7fb12

Browse files
committed
Improve Go bump instructions
Signed-off-by: Stefan Büringer [email protected]
1 parent 7c5f467 commit ce7fb12

File tree

1 file changed

+8
-1
lines changed
  • docs/release/role-handbooks/release-lead

1 file changed

+8
-1
lines changed

docs/release/role-handbooks/release-lead/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,15 @@ The goal of this task is to ensure we are always using the latest Go version for
166166
2. Bump the Go version in supported branches if necessary
167167
<br>Prior art: [Bump go to v1.23.7](https://github.com/kubernetes-sigs/cluster-api/pull/11981)
168168

169-
Note: If the Go minor version of one of our supported branches goes out of supported, we should consider bumping
169+
Note: If the Go minor version of one of our supported branches goes out of support, we should consider bumping
170170
to a newer Go minor version according to our [backport policy](./../../../../CONTRIBUTING.md#backporting-a-patch).
171+
Usually this is done after k/k bumps the Go version in their release branches.
172+
173+
The right Go minor version for a Cluster API branch can be looked up as follows (based on an example):
174+
* Cluster API v1.10 has Kubernetes v1.32 as a dependency: https://github.com/kubernetes-sigs/cluster-api/blob/v1.10.0/go.mod
175+
* Kubernetes v1.32 uses Go 1.23.8 (can be seen by checking the corresponding kubekins image in https://github.com/kubernetes/test-infra/blob/1a5662a/images/kubekins-e2e-v2/variants.yaml#L19)
176+
* => Cluster API v1.10 can be bumped to Go 1.23
177+
171178

172179
### [Repeatedly] Cut a release
173180

0 commit comments

Comments
 (0)