From b45a0cdef89998b626ad30773b0af6212c09ba9c Mon Sep 17 00:00:00 2001 From: Devendar Reddy Adulla Date: Tue, 31 Aug 2021 17:46:02 -0700 Subject: [PATCH] Disable loc builds from release branch for 6.0 (#5653) --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9c51c6a8aef..37b5fc0aeb8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -97,7 +97,7 @@ stages: targetArchitecture: arm64 -- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: +- ${{ if and( and( ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}: - stage: OneLocBuild displayName: Publish localizable content to OneLocBuild jobs: