Skip to content

Commit

Permalink
chore(sdk): update kfp-kubernetes docs versions and release script
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-mccarthy committed Jan 12, 2024
1 parent 0907a11 commit 5ee6e2f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 9 deletions.
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

0 comments on commit 5ee6e2f

Please sign in to comment.