Skip to content

Commit 546b5c1

Browse files
authored
Disable loc builds from release branch for 6.0 (#5653) (#5655) (#5664)
1 parent 938972a commit 546b5c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ stages:
100100
skipTests: $(SkipTests)
101101

102102

103-
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
103+
- ${{ if and( and( ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:
104104
- stage: OneLocBuild
105105
displayName: Publish localizable content to OneLocBuild
106106
jobs:

0 commit comments

Comments
 (0)