We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3da8c7 commit a3d6e67Copy full SHA for a3d6e67
build/build_prep.ps1
@@ -3,6 +3,9 @@ dotnet tool install Cake.Tool --version 1.1.0
3
Invoke-WebRequest https://cakebuild.net/download/bootstrapper/dotnet-tool/windows -OutFile build.ps1
4
if ($prNo = $env:APPVEYOR_PULL_REQUEST_NUMBER) {
5
Write-Host "PR Build, creating an explicit branch"
6
- git fetch --all
+ git fetch --unshallow
7
+ git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
8
+ git fetch origin
9
+ git branch master origin/master
10
git checkout -b "pr-build-$prNo"
11
}
0 commit comments