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: devel/release.md
+9-17
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,7 @@ are a higher than expected number of issues there can be multiple releases
17
17
18
18
## Automated release
19
19
20
-
### 1. (Optional) Update submodules
21
-
22
-
Update submodules by referring to this [link](https://github.com/kubernetes-client/python/blob/master/devel/submodules.md#update-submodule). Commit the changes and open a pull request.
23
-
24
-
### 2. Run the release script and send a PR
20
+
### 1. Run the release script and send a PR
25
21
Generate a Github personal access token following instruction
Checkout the generated local branch (named "automated-release-of-xxx") to
50
46
continue with the remaining steps.
51
47
52
-
### 3. README (not required for snapshots)
48
+
### 2. README (not required for snapshots)
53
49
54
50
Update the compatibility matrix and maintenance status in the README file.
55
51
56
-
### 4. Submit pull request
52
+
### 3. Submit pull request
57
53
58
54
For snapshots, create a PR against the master repo.
59
55
@@ -62,17 +58,13 @@ For actual releases, create:
62
58
- a second PR against the master branch to cherrypick the CHANGELOG and README
63
59
changes.
64
60
65
-
### 5. (Repo admin) Create release branch
61
+
### 4. (Repo admin) Create release branch
66
62
67
63
After merging a new snapshot, create a release branch from the master branch.
68
64
69
65
## (Deprecated) Manual release
70
66
71
-
### 1. Update submodules
72
-
73
-
Update submodules by referring to this [link](https://github.com/kubernetes-client/python/blob/master/devel/submodules.md#update-submodule). Commit the changes and open a pull request.
74
-
75
-
### 2. Create or update release branch
67
+
### 1. Create or update release branch
76
68
77
69
The release branch name should have release-x.x format. All minor and pre-releases
78
70
should be on the same branch. To update an existing branch with master (only for
You may need to fix some conflicts. For auto-generated files, you can commit
90
82
either version. They will be updated to the current version in the next step.
91
83
92
-
### 3. Update release tags
84
+
### 2. Update release tags
93
85
94
86
Release tags are in the "scripts/constants.py" file. These are the constants you
95
87
may need to update:
@@ -126,7 +118,7 @@ apply the manual fixes.***
126
118
git push upstream $RELEASE_BRANCH
127
119
```
128
120
129
-
### 4. Hot issues
121
+
### 3. Hot issues
130
122
131
123
Use the `scripts/apply-hotfixes.sh` script to apply the fixes below in one step.
132
124
**As mentioned above, the script should be run after finishing the section "Update release tags". Also, ensure a clean working directory before applying the script.**
@@ -152,15 +144,15 @@ For more details, see [#974](https://github.com/kubernetes-client/python/issues/
152
144
153
145
5. Add tests for the default `Configuration` behavior (ref: https://github.com/kubernetes-client/python/pull/1303 and https://github.com/kubernetes-client/python/pull/1285). The commit [1ffa61d0650e4c93e0d7f0becd2c54797eafd407](https://github.com/kubernetes-client/python/pull/1285/commits/1ffa61d0650e4c93e0d7f0becd2c54797eafd407) should be cherry-picked.
154
146
155
-
### 5. CHANGELOG
147
+
### 4. CHANGELOG
156
148
157
149
Make sure the change logs are up to date [here](https://github.com/kubernetes-client/python/blob/master/CHANGELOG.md).
158
150
If they are not, follow commits added after the last release and update/commit
159
151
the change logs to master.
160
152
161
153
Then based on the release, follow one of next two steps.
162
154
163
-
### 6. README
155
+
### 5. README
164
156
165
157
Update the compatibility matrix and maintenance status in the README file.
0 commit comments