Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd3e684

Browse files
authored
Update release.md
1 parent 436351b commit cd3e684

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

devel/release.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ should be on the same branch. To update an existing branch:
1818
export RELEASE_BRANCH=release-x.x
1919
git checkout RELEASE_BRANCH
2020
git fetch upstream
21-
git pull upstream/master
22-
git push origin RELEASE_BRANCH
21+
git pull upstream master
2322
```
2423

2524
You may need to fix some conflicts. For auto-generated files, you can commit
@@ -46,9 +45,11 @@ need to update:
4645
CLIENT_VERSION: Client version should follow x.y.zDn where x,y,z are version
4746
numbers (integers) and D is one of "a" for alpha or "b" for beta and n is the
4847
pre-release number. For a final release, "Dn" part should be omitted. Examples:
49-
1.0.0a1, 2.0.1b2, 1.5.1
48+
1.0.0a1, 2.0.1b2, 1.5.1.
49+
5050
SPEC_VERSION: This would be the kubernetes OpenAPI spec version. It should be
5151
deprecated after kubernetes/kubernetes#37055 takes effect.
52+
5253
DEVELOPMENT_STATUS: Update it to one of the values of "Development Status"
5354
in [this list](https://pypi.python.org/pypi?%3Aaction=list_classifiers).
5455

@@ -106,7 +107,7 @@ python setup.py bdist_wheel --universal
106107
ls dist/
107108
```
108109

109-
You should see two files in dist folder. kubernetes*.whl and kubernetes*.tar.gz.
110+
You should see two files in dist folder. kubernetes\*.whl and kubernetes\*.tar.gz.
110111

111112
TODO: We need a dry-run option an some way to test package upload process to pypi.
112113

@@ -119,13 +120,12 @@ twine upload dist/*
119120
## Create github release
120121

121122
Create a gihub release by starting from
122-
[this page(https://github.com/kubernetes-incubator/client-python/releases).
123+
[this page](https://github.com/kubernetes-incubator/client-python/releases).
123124
Click Deaft new release button. Name the tag the same as CLIENT_VERSION. Change
124-
the target branch to "release-x.y"
125+
the target branch to "release-x.y". If the release is a pre-release, check the
126+
`This is a pre-release` option.
125127

126128

127-
ref: https://packaging.python.org/distributing/
128-
129129
## Cleanup
130130

131131
```bash
@@ -134,3 +134,6 @@ rm -rf .release
134134
```
135135

136136
TODO: Convert steps in this document to an (semi-) automated script.
137+
138+
139+
ref: https://packaging.python.org/distributing/

0 commit comments

Comments
 (0)