Skip to content

Commit f7b4788

Browse files
authored
Merge pull request #60 from oslabs-beta/ash-t-luu-patch-1
AL/YAML fix
2 parents aaefbac + 72e0dc5 commit f7b4788

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
@@ -48,6 +48,6 @@ steps:
4848
echo ">>> Publish"
4949
npm run deploy
5050
displayName: Publish
51-
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['Agent.OS'], 'Linux'))
51+
condition: and(succeeded(), or(startsWith(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['Build.SourceBranch'], 'refs/heads/main')), or(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OS'], 'MacOS')))
5252
env:
5353
VSCE_PAT: $(VSCE_PAT)

0 commit comments

Comments
 (0)