diff --git a/ci-build.cmd b/ci-build.cmd index 0a4d6c49d8..7d05f8a530 100644 --- a/ci-build.cmd +++ b/ci-build.cmd @@ -1,7 +1,7 @@ @echo off cd %~dp0 - SETLOCAL + SET DIST_DIR=%APPVEYOR_BUILD_FOLDER%\dist\ SET DIST_SRC_DIR=%DIST_DIR%Source\ SET REPO_URL=https://github.com/%APPVEYOR_REPO_NAME%.git @@ -11,5 +11,5 @@ cd %DIST_SRC_DIR% 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% diff --git a/ci-dist-source.ps1 b/ci-dist-source.ps1 deleted file mode 100644 index 5525c76ed2..0000000000 --- a/ci-dist-source.ps1 +++ /dev/null @@ -1,10 +0,0 @@ -$distDir = $env:APPVEYOR_BUILD_FOLDER + "\dist\" -$distSrcDir = $distDir + "Source\" -$repoUrl = "https://github.com/" + $env:APPVEYOR_REPO_NAME + ".git" -git clone $repoUrl $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 $distDir -cd $env:APPVEYOR_BUILD_FOLDER