Skip to content

Commit 428ae7a

Browse files
authored
Work CI-CD
- Add task to update dependent repo. ***NO_CI***
1 parent 7bb6a9e commit 428ae7a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

azure-pipelines.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ steps:
147147
condition: and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), not(contains(variables['Build.SourceBranch'], 'preview') ), ne( variables['StartReleaseCandidate'], true ) )
148148
displayName: Create/Update GitHub stable release
149149

150+
# update dependents
151+
- task: UpdatenFDependencies@1
152+
displayName: Update dependent class libs
153+
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') )
154+
inputs:
155+
gitHubToken: $(GitHubToken)
156+
repositoriesToUpdate: |
157+
lib-nanoFramework.WebServer
158+
150159
# step from template @ nf-tools repo
151160
# report error
152161
- template: azure-pipelines-templates/discord-webhook-task.yml@templates

0 commit comments

Comments
 (0)