azure-pipelines.yml: added hotfix/* for prod-build

This commit is contained in:
Michael Auer
2020-07-15 15:30:01 +00:00
parent 2399e7bf3b
commit 6c068e765f

View File

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