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 2621afd commit af98da6Copy full SHA for af98da6
Build.ps1
@@ -94,6 +94,15 @@ function CreateNuGetPackage {
94
CheckLastExitCode
95
}
96
97
+# In a PR the base branch needs to be fetched in order for regitlint to work.
98
+function FetchBaseBranchIfNotMaster() {
99
+ if ($env:APPVEYOR_PULL_REQUEST_NUMBER -And $env:APPVEYOR_REPO_BRANCH -ne "master") {
100
+ git fetch -q origin ${env:APPVEYOR_REPO_BRANCH}:${env:APPVEYOR_REPO_BRANCH}
101
+ }
102
+}
103
+
104
+FetchBaseBranchIfNotMaster
105
106
dotnet tool restore
107
108
appveyor.yml
@@ -15,6 +15,7 @@ environment:
15
branches:
16
only:
17
- master
18
+ - resource-inheritance
19
- develop
20
- unstable
21
- /release\/.+/
0 commit comments