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 58de436 commit 52a17eeCopy full SHA for 52a17ee
Build.ps1
@@ -93,6 +93,15 @@ function CreateNuGetPackage {
93
CheckLastExitCode
94
}
95
96
+
97
+function LoadBaseBranchIfNotMaster(){
98
+ if ($env:APPVEYOR_REPO_BRANCH -ne "master") {
99
+ git fetch origin $env:APPVEYOR_REPO_BRANCH:$env:APPVEYOR_REPO_BRANCH
100
+ }
101
+}
102
103
+LoadBaseBranchIfNotMaster
104
105
dotnet tool restore
106
107
appveyor.yml
@@ -45,14 +45,6 @@ for:
45
46
choco install docfx -y
47
48
- Write-Output $env:APPVEYOR_REPO_BRANCH
49
- if ($env:APPVEYOR_REPO_BRANCH -Eq 'openapi'){
50
- git fetch origin openapi:openapi
51
- Write-Output "YAY"
52
- } else {
53
- Write-Output "NAY"
54
- }
55
-
56
after_build:
57
- pwsh: |
58
CD ./docs
0 commit comments