cd properly

This commit is contained in:
Kyle Spearrin 2020-09-22 17:36:17 -04:00
parent 8501640fbd
commit 6e8e9778d0
1 changed files with 8 additions and 3 deletions

View File

@ -29,11 +29,16 @@ if(-not $skipcheckout) {
Remove-Item -Recurse -Force $distSafariDir
}
New-Item $distSafariDir -ItemType Directory -ea 0
cd $distSafariDir
git clone git@github.com:bitwarden/browser.git
cd browser
}
cd $distSafariDir
if(-not $skipcheckout) {
git clone git@github.com:bitwarden/browser.git
}
cd browser
if (-not ([string]::IsNullOrEmpty($version))) {
$tag = "v" + $version
git checkout tags/$tag