diff --git a/build/publish.cmd b/build/publish.cmd index 3a9a91d..91bba47 100644 --- a/build/publish.cmd +++ b/build/publish.cmd @@ -23,7 +23,7 @@ move dist\Azaion.Dataset.dll dist\dummy\ echo Build Cython app cd Azaion.Inference echo remove dist folder: -rmdir dist /s /q +if exist dist rmdir dist /s /q echo install python and dependencies python -m venv venv @@ -74,8 +74,10 @@ cd.. echo Download onnx model cd build -echo Install cdn_manager -call build_cdn_manager +if not exist cdn_manager.exe ( + echo Install cdn_manager + call build_cdn_manager +) call cdn_manager.exe download models move models ..\dist\