From 53a35dd608d04cc52b8eb84a550d968d16820ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Thu, 11 Jul 2019 01:06:45 +0100 Subject: [PATCH] Work CD-CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add condition to update nF dependent repos only if requested by tag in commit message. Tag is: ***UPDATE_DEPENDENTS*** Signed-off-by: José Simões --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index dd61363d..a6b1c122 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -59,7 +59,7 @@ steps: lib-nanoFramework.Hardware.Stm32 lib-nanoFramework.System.Math Json.NetMF - condition: and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v') ) + condition: and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), contains(variables['getCommitMessage.COMMIT_MESSAGE'], '***UPDATE_DEPENDENTS***') ) displayName: Update dependent class libs # step from template @ nf-tools repo