diff --git a/azure-pipelines-dev.yml b/azure-pipelines-dev.yml index 15cf2dc1..ec5fc05b 100644 --- a/azure-pipelines-dev.yml +++ b/azure-pipelines-dev.yml @@ -16,7 +16,7 @@ variables: project_feed: Tools/CollectServiceFabricData build_configuration: debug system.debug: true - publish_release: $[eq(variables['Build.SourceBranch'], 'refs/heads/release_30')] + publish_release: $[eq(variables['System.PullRequest.targetBranchName'], 'master')] project_root: .\src start_time: $[format('{0}-{1:yyyy}{1:MM}{1:dd}-{1:HH}{1:mm}{1:ss}', variables['project_name'], pipeline.startTime)] artifacts_drive: Z diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 703d90e0..d80647b0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,7 +17,7 @@ variables: project_feed: Tools/CollectServiceFabricData build_configuration: release system.debug: false - publish_release: $[eq(variables['Build.SourceBranch'], 'refs/heads/release_30')] + publish_release: $[eq(variables['System.PullRequest.targetBranchName'], 'master')] project_root: .\src start_time: $[format('{0}-{1:yyyy}{1:MM}{1:dd}-{1:HH}{1:mm}{1:ss}', variables['project_name'], pipeline.startTime)] artifacts_drive: Z