fix zip name

This commit is contained in:
Kyle Spearrin 2018-03-28 15:36:17 -04:00
parent c37b1b3b7c
commit c4ae27be8f
2 changed files with 2 additions and 12 deletions

View File

@ -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%

View File

@ -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