From 3acaa6e87aab84d3686b3e3d2aee9b2415edf1cd Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 28 Mar 2018 15:53:01 -0400 Subject: [PATCH] comments --- ci-build.cmd | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ci-build.cmd b/ci-build.cmd index 809cba2ce76..0c7da0cd50e 100644 --- a/ci-build.cmd +++ b/ci-build.cmd @@ -6,11 +6,16 @@ SET DIST_DIR=%APPVEYOR_BUILD_FOLDER%\dist\ SET DIST_SRC_DIR=%DIST_DIR%Source\ SET REPO_URL=https://github.com/%APPVEYOR_REPO_NAME%.git -call npm run dist -call git clone %REPO_URL% %DIST_SRC_DIR% +:: Do normal build +ECHO "Build dist" +CALL npm run dist + +:: Build sources for reviewers +ECHO "Build sources" +CALL git clone --branch=%APPVEYOR_REPO_BRANCH% %REPO_URL% %DIST_SRC_DIR% cd %DIST_SRC_DIR% -call git checkout %APPVEYOR_REPO_COMMIT% -call git submodule update --init --recursive +CALL git checkout %APPVEYOR_REPO_COMMIT% +CALL git submodule update --init --recursive cd %DIST_DIR% -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%