1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-27 12:26:38 +01:00

cd properly

This commit is contained in:
Kyle Spearrin 2020-09-22 17:36:17 -04:00
parent 8501640fbd
commit 6e8e9778d0

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