mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-17 02:34:47 +02:00
10 lines
366 B
PowerShell
10 lines
366 B
PowerShell
$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
|