3838# #############################
3939- job : Build_Library
4040 condition : >-
41- or(
42- eq(variables['UPDATE_DEPENDENTS'], 'false'),
43- eq(variables['StartReleaseCandidate'], 'true')
41+ and(
42+ not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v')),
43+ or(
44+ eq(variables['UPDATE_DEPENDENTS'], 'false'),
45+ eq(variables['StartReleaseCandidate'], 'true')
46+ )
4447 )
4548 pool :
4649 vmImage : ' windows-latest'
@@ -73,12 +76,10 @@ jobs:
7376 condition : >-
7477 or(
7578 and(
76- succeeded(),
77- startsWith(variables['Build.SourceBranch'], 'refs/heads/main'),
79+ startsWith(variables['Build.SourceBranch'], 'refs/tags/v'),
7880 eq(variables['StartReleaseCandidate'], 'false')
7981 ),
8082 and(
81- succeeded(),
8283 contains(variables['getCommitMessage.COMMIT_MESSAGE'], '***UPDATE_DEPENDENTS***'),
8384 eq(variables['StartReleaseCandidate'], 'false')
8485 ),
@@ -101,10 +102,7 @@ jobs:
101102 # update dependents
102103 - template : azure-pipelines-templates/update-dependents.yml@templates
103104 parameters :
104- ${{ if eq(variables['UPDATE_DEPENDENTS'], 'true') }} :
105- waitBeforeUpdate : false
106- ${{ else }} :
107- waitBeforeUpdate : true
105+ waitBeforeUpdate : false
108106 repositoriesToUpdate : |
109107 nanoFramework.Json
110108 nanoFramework.m2mqtt
0 commit comments