Skip to content

Commit a3d6e67

Browse files
committed
adding all the things
1 parent b3da8c7 commit a3d6e67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/build_prep.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ dotnet tool install Cake.Tool --version 1.1.0
33
Invoke-WebRequest https://cakebuild.net/download/bootstrapper/dotnet-tool/windows -OutFile build.ps1
44
if ($prNo = $env:APPVEYOR_PULL_REQUEST_NUMBER) {
55
Write-Host "PR Build, creating an explicit branch"
6-
git fetch --all
6+
git fetch --unshallow
7+
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
8+
git fetch origin
9+
git branch master origin/master
710
git checkout -b "pr-build-$prNo"
811
}

0 commit comments

Comments
 (0)