fix zip name
This commit is contained in:
parent
c37b1b3b7c
commit
c4ae27be8f
|
@ -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%
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue