Skip to content

Commit 26254e2

Browse files
committed
Work CI-CD
- Fix condition to publish packages on buils from develop branch. ***NO_CI***
1 parent b4544f5 commit 26254e2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

azure-pipelines-templates/publish-cloudsmith.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ steps:
162162
or(
163163
eq(variables['ForceUpload'], true),
164164
and(
165-
eq(variables['Build.SourceBranchName'], 'main'),
165+
or(
166+
eq(variables['Build.SourceBranchName'], 'main'),
167+
eq(variables['Build.SourceBranchName'], 'develop')
168+
),
166169
eq(variables['System.PullRequest.PullRequestId'], '')
167170
)
168171
)

azure-pipelines-templates/publish-nanoclr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ steps:
5252
or(
5353
eq(variables['ForceUpload'], true),
5454
and(
55-
eq(variables['Build.SourceBranchName'], 'main'),
55+
or(
56+
eq(variables['Build.SourceBranchName'], 'develop'),
57+
eq(variables['Build.SourceBranchName'], 'main')
58+
),
5659
eq(variables['System.PullRequest.PullRequestId'], '')
5760
)
5861
)

0 commit comments

Comments
 (0)