- Check out the release branch. Release branches are named
release-{MAJOR}.{MINOR}
. - Update
CLIENT_VERSION
inscripts/constants.py
to reflect the new version. - Update
KUBERNETES_CLIENT_VERSION
inscripts/constants.py
to reflect an updatedkubernetes
python package, if needed. - Run
scripts/update_version.sh
. This will update the version numbers everywhere they are referenced. - Commit the changes made by the previous step. If you have push access, you can push the branch up directly. If not, you can open a PR and a maintainer will review and merge it.
- In the GitHub UI go to the
releases
tab. SelectDraft a new release
. - For tag version, fill in
v
followed by the value forCLIENT_VERSION
that you added toconstants.py
, ie, if yourCLIENT_VERSION
is0.36.2
, your tag will bev0.36.2
- Ensure that the
Target
is set to the properrelease-{MAJOR}.{MINOR}
, NOT master. - For
Release title
, just putRelease
followed by the new version you set inCLIENT_VERSION
- For the release notes, summarize the features and bugfixes that have been made since the last release. There is no automation for this part yet unfortunately.
- Click
Publish release
. This will kick off a travis-ci build, and once that succeeds the package will be uploaded to pypi automatically.