diff --git a/tools/jenkins-scripts/slave-scripts/runtime/win32-build.bat b/tools/jenkins-scripts/slave-scripts/runtime/win32-build.bat index 31babffbb5..6280e1b795 100644 --- a/tools/jenkins-scripts/slave-scripts/runtime/win32-build.bat +++ b/tools/jenkins-scripts/slave-scripts/runtime/win32-build.bat @@ -2,6 +2,7 @@ set mycocos=tools/cocos2d-console/bin/cocos.bat set language=%1 +rmdir .git call %mycocos% new -l %language% -t runtime set projectname= diff --git a/tools/jenkins-scripts/slave-scripts/runtime/windows-universal.bat b/tools/jenkins-scripts/slave-scripts/runtime/windows-universal.bat index 7bc480bc08..60752e283b 100755 --- a/tools/jenkins-scripts/slave-scripts/runtime/windows-universal.bat +++ b/tools/jenkins-scripts/slave-scripts/runtime/windows-universal.bat @@ -2,6 +2,7 @@ set mycocos=tools/cocos2d-console/bin/cocos.bat set language=%1 +rmdir .git call %mycocos% new -l %language% set projectname= diff --git a/tools/jenkins-scripts/slave-scripts/templates/win32-build.bat b/tools/jenkins-scripts/slave-scripts/templates/win32-build.bat index aad8b6217b..3b5904d596 100644 --- a/tools/jenkins-scripts/slave-scripts/templates/win32-build.bat +++ b/tools/jenkins-scripts/slave-scripts/templates/win32-build.bat @@ -2,6 +2,7 @@ set mycocos=tools/cocos2d-console/bin/cocos.bat set language=%1 +rmdir .git call %mycocos% new -l %language% set projectname= diff --git a/tools/jenkins-scripts/slave-scripts/templates/windows-universal.bat b/tools/jenkins-scripts/slave-scripts/templates/windows-universal.bat index 68d87bf50f..9d778d381f 100755 --- a/tools/jenkins-scripts/slave-scripts/templates/windows-universal.bat +++ b/tools/jenkins-scripts/slave-scripts/templates/windows-universal.bat @@ -3,6 +3,7 @@ set mycocos=tools/cocos2d-console/bin/cocos.bat set language=%1 +rmdir .git call %mycocos% new -l %language% set projectname=