From 5ee6e2fbd1ebee8cd1b2d8ac09106cdda351b073 Mon Sep 17 00:00:00 2001 From: connor-mccarthy Date: Thu, 11 Jan 2024 16:01:13 -0800 Subject: [PATCH] chore(sdk): update kfp-kubernetes docs versions and release script --- .../python/create_release_branch.sh | 2 +- kubernetes_platform/python/docs/conf.py | 30 ++++++++++++++----- kubernetes_platform/python/release.sh | 2 +- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/kubernetes_platform/python/create_release_branch.sh b/kubernetes_platform/python/create_release_branch.sh index d1a8312e37e..bf48c5447ef 100644 --- a/kubernetes_platform/python/create_release_branch.sh +++ b/kubernetes_platform/python/create_release_branch.sh @@ -49,5 +49,5 @@ else rm $REPO_ROOT/kubernetes_platform/.gitignore - echo "\nNext steps:\n\t- Add the version number to $PKG_ROOT/docs/conf.py\n\t- Add and commit the changes in this branch using 'git add $REPO_ROOT && git commit -m 'update for release' --no-verify'\n\t- Push branch using 'git push --set-upstream upstream $BRANCH_NAME'" + echo "\nNext steps:\n\tPush branch using 'git push --set-upstream upstream $BRANCH_NAME'" fi diff --git a/kubernetes_platform/python/docs/conf.py b/kubernetes_platform/python/docs/conf.py index 237a8f2c7cf..24d3f29b328 100644 --- a/kubernetes_platform/python/docs/conf.py +++ b/kubernetes_platform/python/docs/conf.py @@ -137,13 +137,29 @@ def decorator(func): }, 'version_dropdown': True, - 'version_info': [{ - 'version': - 'https://kfp-kubernetes.readthedocs.io/en/kfp-kubernetes-0.0.1/', - 'title': - '0.0.1', - 'aliases': ['stable'], - },], + 'version_info': [ + { + 'version': + 'https://kfp-kubernetes.readthedocs.io/en/kfp-kubernetes-1.1.0/', + 'title': + '1.1.0', + 'aliases': ['stable'], + }, + { + 'version': + 'https://kfp-kubernetes.readthedocs.io/en/kfp-kubernetes-1.0.0/', + 'title': + '1.0.0', + 'aliases': [], + }, + { + 'version': + 'https://kfp-kubernetes.readthedocs.io/en/kfp-kubernetes-0.0.1/', + 'title': + '0.0.1', + 'aliases': [], + }, + ], # "toc_title_is_page_title": True, } # Add any paths that contain templates here, relative to this directory. diff --git a/kubernetes_platform/python/release.sh b/kubernetes_platform/python/release.sh index 12c9b4fa67f..e835e441d45 100644 --- a/kubernetes_platform/python/release.sh +++ b/kubernetes_platform/python/release.sh @@ -49,6 +49,6 @@ else then echo "Something went wrong! Expected version $KFP_KUBERNETES_VERSION but found version $INSTALLED_VERSION" else - python -m twine upload --username kubeflow-pipelines $TARGET_TAR_FILE + python -m twine upload $TARGET_TAR_FILE fi fi