Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(sdk): update kfp-kubernetes docs versions and release scripts #10388

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kubernetes_platform/python/create_release_branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
30 changes: 23 additions & 7 deletions kubernetes_platform/python/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion kubernetes_platform/python/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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