From d4df1c7cbaaf05c2eb046fb7d07cc9ebe2e91f60 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 2 Sep 2015 11:35:06 +0100 Subject: [PATCH] Windows: Clean output dir avoid old output builds being archived or uploaded. --- build_release_windows.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_release_windows.bat b/build_release_windows.bat index 6c9ad6c..b368586 100755 --- a/build_release_windows.bat +++ b/build_release_windows.bat @@ -78,6 +78,9 @@ ECHO Packaging root is %WORKSPACE% subst X: /D subst X: %WORKSPACE%. +REM ensure output dir is clean since we upload the entirety of it +rmdir /S /Q output + REM indirect way to get command output into an environment variable set PATH=%WORKSPACE%\install\msvc100\OpenSceneGraph\bin;%PATH% osgversion --so-number > %TEMP%\osg-so-number.txt