From 3812bb278ef79f3d302b0a7c9f4066378f72558f Mon Sep 17 00:00:00 2001 From: Ivan Nosar Date: Fri, 11 Oct 2019 16:27:19 +0300 Subject: [PATCH] Set proper branch name for publishing (#101) --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c801eab2..f69af026 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -95,4 +95,4 @@ jobs: AZURE_STORAGE_CONNECTION_STRING: $(AzureStorageConnectionString) SOURCE_BRANCH: $(Build.SourceBranch) displayName: "Publish to Azure Blob Storage" - condition: and(succeeded(), eq(variables['Agent.JobName'], variables['AzurePublishWhen']), eq(variables['Build.SourceBranch'], 'master'), eq(variables['Build.Reason'], 'IndividualCI')) \ No newline at end of file + condition: and(succeeded(), eq(variables['Agent.JobName'], variables['AzurePublishWhen']), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.Reason'], 'IndividualCI')) \ No newline at end of file