change out of directory before deleting

This commit is contained in:
Kyle Spearrin 2018-03-28 16:26:20 -04:00
parent 8b00ae4598
commit b24520fcea
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ CALL git clone --branch=%APPVEYOR_REPO_BRANCH% %REPO_URL% %DIST_SRC_DIR%
cd %DIST_SRC_DIR% cd %DIST_SRC_DIR%
CALL git checkout %APPVEYOR_REPO_COMMIT% CALL git checkout %APPVEYOR_REPO_COMMIT%
CALL git submodule update --init --recursive CALL git submodule update --init --recursive
DEL /S/Q "%DIST_SRC_DIR%.git\objects\pack\*"
cd %DIST_DIR% cd %DIST_DIR%
DEL /S/Q "%DIST_SRC_DIR%.git\objects\pack\*"
CALL 7z a browser-source-%APPVEYOR_BUILD_NUMBER%.zip "%DIST_SRC_DIR%\*" CALL 7z a browser-source-%APPVEYOR_BUILD_NUMBER%.zip "%DIST_SRC_DIR%\*"
cd %APPVEYOR_BUILD_FOLDER% cd %APPVEYOR_BUILD_FOLDER%