cd properly
This commit is contained in:
parent
8501640fbd
commit
6e8e9778d0
|
@ -29,11 +29,16 @@ if(-not $skipcheckout) {
|
||||||
Remove-Item -Recurse -Force $distSafariDir
|
Remove-Item -Recurse -Force $distSafariDir
|
||||||
}
|
}
|
||||||
New-Item $distSafariDir -ItemType Directory -ea 0
|
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))) {
|
if (-not ([string]::IsNullOrEmpty($version))) {
|
||||||
$tag = "v" + $version
|
$tag = "v" + $version
|
||||||
git checkout tags/$tag
|
git checkout tags/$tag
|
||||||
|
|
Loading…
Reference in New Issue