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
You may need to fix some conflicts. For auto-generated files, you can commit
33
43
either version. They will be updated to the current version in the next step.
34
44
35
-
## Update release tags
45
+
## 3. Update release tags
36
46
37
47
Release tags are in the "scripts/constants.py" file. These are the constants you
38
48
may need to update:
@@ -55,17 +65,24 @@ command:
55
65
scripts/update-client.sh
56
66
```
57
67
68
+
**NOTE**: If you see a lot of new or modified files under the `kubernetes/test/`
69
+
directory, delete everything except `kubernetes/test/test_api_client.py` and
70
+
`kubernetes/test/test_configuration.py`.
71
+
58
72
Commit changes (should be only version number changes) to the release branch.
59
73
Name the commit something like "Update version constants for XXX release".
60
74
61
-
***After you finished the steps above, refer to the section "Hot issues" and
75
+
***After you finished the steps above, refer to the section, "Hot issues", and
62
76
apply the manual fixes.***
63
77
64
78
```bash
65
79
git push upstream $RELEASE_BRANCH
66
80
```
67
81
68
-
## Hot issues
82
+
## 4. Hot issues
83
+
84
+
You can use the `scripts/apply-hotfixes.sh` script to apply the fixes below in
85
+
one step. **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**
69
86
70
87
There are some hot issues with the client generation that require manual fixes.
71
88
***The steps in this section should be performed after you finished the section "Update release tags".***
@@ -86,23 +103,25 @@ For more details, see [#974](https://github.com/kubernetes-client/python/issues/
86
103
87
104
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.
88
105
89
-
Commit the manual changes like this [PR](https://github.com/kubernetes-client/python/pull/995/commits) does, then create your PR for review.
90
-
91
-
Alternatively, you can use the `scripts/apply-hotfixes.sh` script to apply
92
-
changes from the above functionalities. **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**
106
+
Commit the manual changes like this [PR](https://github.com/kubernetes-client/python/pull/995/commits) does.
93
107
94
-
## Change logs
108
+
## 5. CHANGELOG
95
109
96
110
Make sure the change logs are up to date [here](https://github.com/kubernetes-client/python/blob/master/CHANGELOG.md).
97
111
If they are not, follow commits added after the last release and update/commit
98
112
the change logs to master.
99
113
100
114
Then based on the release, follow one of next two steps.
101
115
102
-
## README
116
+
## 6. README
103
117
104
118
Update the compatibility matrix and maintenance status in the README file.
105
119
120
+
## Submit pull request
121
+
122
+
Typically after the you've completed steps 2-5 above you can push your changes
123
+
open a pull request against `kubernetes-client:release-x.y`
124
+
106
125
## Patch a release branch
107
126
108
127
If you are releasing a patch to an existing stable release, you should do a
@@ -188,7 +207,7 @@ If everything looks good, run this command to upload packages to pypi:
0 commit comments