1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-28 17:27:50 +01:00

script fixes

This commit is contained in:
Kyle Spearrin 2018-03-28 14:32:41 -04:00
parent b7b43406e8
commit 949224339b

View File

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