You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release-procedure.md
+7-22Lines changed: 7 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,6 @@ This document outlines the standard procedure for creating new releases of the C
19
19
-`PATCH` is incremented for each subsequent release within the same Kubernetes version
20
20
-**CI/CD System:** All release and image builds are managed by our **Prow CI** infrastructure.
21
21
22
-
---
23
-
24
22
## Automated Release Process (Primary Method)
25
23
26
24
The primary release method is automated using a tool called `release-tool`. This process is designed to be straightforward and require minimal manual intervention.
@@ -30,31 +28,18 @@ The primary release method is automated using a tool called `release-tool`. This
30
28
31
29
Publishing the release automatically creates the corresponding Git tag (e.g., `v1.33.1`), which triggers a separate Prow job to build the final container images and attach them to the GitHub release.
32
30
33
-
---
34
-
35
31
## Manual Release Process (Fallback Method)
36
32
37
-
If the `release-tool` or its associated Prow job fails, you can manually trigger a release by creating and pushing a Git tag from the appropriate release branch.
38
-
39
-
1.**Check out the release branch:** Ensure you have the latest changes from the correct release branch.
33
+
If the `release-tool` or its associated Prow job fails, use the GitHub web UI to create and publish a release:
40
34
41
-
```bash
42
-
git checkout release-v1.33.x
43
-
git pull origin release-v1.33.x
44
-
```
35
+
1. Go to the repository on GitHub and click **Releases** on the right side, then click **Draft new release**.
45
36
46
-
2.**Create the Git tag:**Create a new, annotated tag for the release, following semantic versioning.
37
+
2.Open the **Select tag**dropdown and choose **Create new tag** at the bottom. Enter the new tag name (for example `v2.1.0`) and pick the correct `release-` as target branch, then confirm.
47
38
48
-
```bash
49
-
# Example for creating version v1.33.1
50
-
git tag v1.33.1
51
-
```
39
+
3. Click **Generate release notes** to let GitHub populate the changelog.
52
40
53
-
3.**Push the tag to the remote repository:**
41
+
4. In the release description, add a line `Released by @<your github handle>`to indicate the publisher.
54
42
55
-
```bash
56
-
# Example for pushing tag v1.33.1
57
-
git push origin v1.33.1
58
-
```
43
+
5. Click **Publish release** to create the release.
59
44
60
-
Pushing a tag that starts with `v` (e.g., `v1.33.1`) automatically triggers the same Prow release job that builds and publishes the final container images. You may need to manually update the release notes on GitHub afterward.
45
+
Publishing a new release triggers the same Prow release job that builds and publishes the final container images.
0 commit comments