mirror of
https://github.com/bitwarden/browser
synced 2024-12-13 09:48:01 +01:00
17 lines
439 B
Batchfile
17 lines
439 B
Batchfile
@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
|
|
|
|
call npm run dist
|
|
call git clone %REPO_URL% %DIST_SRC_DIR%
|
|
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%\*
|
|
cd %APPVEYOR_BUILD_FOLDER%
|