Skip to content

Commit 8780196

Browse files
committed
Work CD-CI
- Fix check for PR build. - Add install and set build number at update dependents job. ***NO_CI***
1 parent d976b40 commit 8780196

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# get commit message
3131
- powershell: |
3232
33-
if($env:System_PullRequest_PullRequestId -ne '')
33+
if($env:System_PullRequest_PullRequestId -ne $null)
3434
{
3535
# PR build, get PR message
3636
@@ -200,10 +200,14 @@ jobs:
200200
steps:
201201
# need this here in order to persist GitHub credentials
202202
- checkout: self
203-
fetchDepth: 1
203+
fetchDepth: 100
204204

205205
- template: azure-pipelines-templates/install-nbgv-tool.yml@templates
206206

207+
- script: nbgv cloud -a -c
208+
condition: succeeded()
209+
displayName: Set build number
210+
207211
# update dependencies
208212
- task: PowerShell@2
209213
displayName: Update dependent class libs

0 commit comments

Comments
 (0)