mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
script fixes
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
$distDir = $env:APPVEYOR_BUILD_FOLDER + "\dist\"
|
||||
$distSrcDir = $distDir + "Source\"
|
||||
$repoUrl = "https://github.com/" + $env:APPVEYOR_REPO_NAME + ".git"
|
||||
git clone -q --branch=master $repoUrl $distSrcDir
|
||||
git clone $repoUrl $distSrcDir
|
||||
cd $distSrcDir
|
||||
git checkout -qf $env:APPVEYOR_REPO_COMMIT
|
||||
git checkout $env:APPVEYOR_REPO_COMMIT
|
||||
git submodule update --init --recursive
|
||||
cd $distSrcDir
|
||||
7z a browser-source-$env:APPVEYOR_BUILD_NUMBER.zip $distSrcDir
|
||||
7z a browser-source-$env:APPVEYOR_BUILD_NUMBER.zip $distDir
|
||||
cd $env:APPVEYOR_BUILD_FOLDER
|
||||
|
||||
Reference in New Issue
Block a user