File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,6 @@ download_tar_to_temp_dir() {
261261 echo " Downloading : $tar_url ..."
262262 wget -c " ${tar_url} " -O mlrun-demos.tar
263263 tar -xf mlrun-demos.tar -C " ${temp_dir} " --strip-components 1
264- chmod +x " ${temp_dir} " /update_demos.sh
265264 rm -rf mlrun-demos.tar
266265 }
267266download_tar_gz_to_temp_dir () {
@@ -304,6 +303,13 @@ if [ -z "$mlrun_version" ]; then # mlrun version isn't specified. using installe
304303 mlrun_version=" ${pip_mlrun## Version: } "
305304 fi
306305fi
306+
307+ # Handling the case mlrun version is 0.0.0+unstable
308+ tag_prefix=` echo " ${mlrun_version} " | cut -d . -f1-2`
309+ if [[ " $tag_prefix " == " 0.0" ]]; then
310+ mlrun_version=" 1.7.0"
311+ fi
312+
307313echo " Looking for demos with MLRun version - ${mlrun_version} ."
308314if [[ " ${mlrun_version} " < " 1.7" ]]; then
309315 git_repo=" demos"
You can’t perform that action at this time.
0 commit comments