aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index cd6a59f..6bed068 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,6 +1,3 @@
-trigger:
-- master
-
jobs:
- job: build
@@ -164,6 +161,7 @@ jobs:
- job: release
dependsOn: build
+ condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
pool:
vmImage: 'vs2017-win2016'
steps: