File tree 3 files changed +17
-8
lines changed
3 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,22 @@ function CreateNuGetPackage {
93
93
CheckLastExitCode
94
94
}
95
95
96
+ function LoadBaseBranchIfNotMaster (){
97
+
98
+ Write-Output $env: APPVEYOR_REPO_BRANCH
99
+ if ($env: APPVEYOR_REPO_BRANCH -ne " master" ) {
100
+ git fetch origin ${env: APPVEYOR_REPO_BRANCH} :${env: APPVEYOR_REPO_BRANCH}
101
+ Write-Output YAY
102
+ $revparse = git rev- parse ' openapi'
103
+ Write-Output $revparse
104
+ $git2 = git branch
105
+ Write-Output $git2
106
+
107
+ }
108
+ }
109
+
110
+ LoadBaseBranchIfNotMaster
111
+
96
112
dotnet tool restore
97
113
CheckLastExitCode
98
114
Original file line number Diff line number Diff line change @@ -20,13 +20,6 @@ branches:
20
20
- unstable
21
21
- /release\/.+/
22
22
23
- # This ensures the base branch is loaded which is required for regitlint to run.
24
- clone_script :
25
- - ps : |
26
- git clone -q --branch=$env:APPVEYOR_REPO_BRANCH https://github.com/$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER
27
- git fetch -q origin +refs/pull/$env:APPVEYOR_PULL_REQUEST_NUMBER/merge:
28
- git checkout -qf FETCH_HEAD
29
-
30
23
pull_requests :
31
24
do_not_increment_build_number : true
32
25
Original file line number Diff line number Diff line change 937
937
"type" : " string" ,
938
938
"nullable" : true
939
939
},
940
- "plannedDeparture " : {
940
+ "departsAt " : {
941
941
"type" : " string" ,
942
942
"format" : " date-time"
943
943
}
You can’t perform that action at this time.
0 commit comments