check existsing in publish.cmd

This commit is contained in:
Alex Bezdieniezhnykh
2025-04-28 18:38:35 +03:00
parent 046cc0eac6
commit 28d8cc7fcc
+5 -3
View File
@@ -23,7 +23,7 @@ move dist\Azaion.Dataset.dll dist\dummy\
echo Build Cython app echo Build Cython app
cd Azaion.Inference cd Azaion.Inference
echo remove dist folder: echo remove dist folder:
rmdir dist /s /q if exist dist rmdir dist /s /q
echo install python and dependencies echo install python and dependencies
python -m venv venv python -m venv venv
@@ -74,8 +74,10 @@ cd..
echo Download onnx model echo Download onnx model
cd build cd build
echo Install cdn_manager if not exist cdn_manager.exe (
call build_cdn_manager echo Install cdn_manager
call build_cdn_manager
)
call cdn_manager.exe download models call cdn_manager.exe download models
move models ..\dist\ move models ..\dist\