azure-pipelines.yml: ! corrected branch expression for release-branches

This commit is contained in:
Michael Auer
2020-09-08 13:08:15 +02:00
parent e4c12f575b
commit 3b101a9e1a

View File

@@ -89,7 +89,7 @@ jobs:
demands:
- Agent.OS -equals Linux
- docker
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/integration'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/heads/hotfix/', 'refs/heads/release/'))
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/integration'), eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/heads/hotfix/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))
steps:
- task: npmAuthenticate@0
displayName: 'npm auth'