Skip to content

Commit 52a2730

Browse files
committed
Work CD-CI
- Improvement and fix of the condition to update dependents. ***NO_CI*** Signed-off-by: josesimoes <[email protected]>
1 parent 71a6ea0 commit 52a2730

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146

147147
##############################
148148
- job: Update_Dependencies
149-
condition: and( ne( variables['StartReleaseCandidate'], true ), or( contains(variables['Build.SourceVersionMessage'], '***UPDATE_DEPENDENTS***'), eq(variables['UPDATE_DEPENDENTS'], 'true') ) )
149+
condition: or( and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['StartReleaseCandidate'], 'false') ), and( succeeded(), contains(variables['getCommitMessage.COMMIT_MESSAGE'], '***UPDATE_DEPENDENTS***'), eq(variables['StartReleaseCandidate'], 'false') ), eq(variables['UPDATE_DEPENDENTS'], 'true') )
150150

151151
dependsOn:
152152
- Build_mscorlib
@@ -186,7 +186,6 @@ jobs:
186186
lib-nanoFramework.System.Collections
187187
lib-nanoFramework.System.Text
188188
Json.NetMF
189-
condition: or( and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v') ), and( succeeded(), contains(variables['Build.SourceVersionMessage'], '***UPDATE_DEPENDENTS***') ), eq(variables['UPDATE_DEPENDENTS'], 'true') )
190189
displayName: Update dependent class libs
191190

192191
##################################

0 commit comments

Comments
 (0)