diff --git a/ci-dist-source.ps1 b/ci-dist-source.ps1 new file mode 100644 index 00000000000..d0e34fecf46 --- /dev/null +++ b/ci-dist-source.ps1 @@ -0,0 +1,9 @@ +$distDir = $env:APPVEYOR_BUILD_FOLDER + "\dist\" +$distSrcDir = $distDir + "Source\" +git clone https://github.com/ + $env:APPVEYOR_REPO_NAME + ".git" $distSrcDir +cd $distSrcDir +git checkout $env:APPVEYOR_REPO_COMMIT +git submodule update --init --recursive +cd $distSrcDir +7z a browser-source-$env:APPVEYOR_BUILD_NUMBER.zip $distSrcDir +cd $env:APPVEYOR_BUILD_FOLDER