File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
api/python_api/kubeflow_katib_api Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515
16- __version__ = "0.18 .0"
16+ __version__ = "0.19 .0"
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ source "${SCRIPT_DIR}/../scripts/container-runtime.sh"
2727setup_container_runtime
2828
2929# TODO (andreyvelich): Read this data from the global VERSION file.
30- API_VERSION=" 0.18 .0"
30+ API_VERSION=" 0.19 .0"
3131API_OUTPUT_PATH=" api/python_api"
3232PKG_ROOT=" ${API_OUTPUT_PATH} /kubeflow_katib_api"
3333
Original file line number Diff line number Diff line change @@ -97,14 +97,16 @@ echo -e "\nKatib Python SDK ${sdk_version} has been published\n"
9797# ------------------ Publish Katib Models for Kubeflow SDK ------------------
9898echo -e " \nPublishing Katib Python models for Kubeflow SDK, version: ${sdk_version} \n"
9999
100- # Change version in __init__.py
101- cd api/python_api
100+ # Change version in gen-api.sh file.
102101if [[ $( uname) == " Darwin" ]]; then
103- sed -i ' ' -e " s@__version__ = \" .*\" @__version__ = \" ${sdk_version} \" @" kubeflow_katib_api/__init__.py
102+ sed -i ' ' -e " s@API_VERSION= \" .*\" @API_VERSION= \" ${sdk_version} \" @" hack/python-api/gen-api.sh
104103else
105- sed -i -e " s@__version__ = \" .*\" @__version__ = \" ${sdk_version} \" @" kubeflow_katib_api/__init__.py
104+ sed -i -e " s@API_VERSION= \" .*\" @API_VERSION= \" ${sdk_version} \" @" hack/python-api/gen-api.sh
106105fi
106+ ./hack/python-api/gen-api.sh
107+
107108# Upload Katib models to PyPI.
109+ cd api/python_api
108110python -m build
109111twine upload dist/*
110112rm -r dist/
Original file line number Diff line number Diff line change 5656
5757setuptools .setup (
5858 name = "kubeflow-katib" ,
59- version = "0.18.0rc0 " ,
59+ version = "0.19.0 " ,
6060 author = "Kubeflow Authors" ,
61616262 license = "Apache License Version 2.0" ,
You can’t perform that action at this time.
0 commit comments