From de64f462cf26414fcc4d18a79b57fcddec420e46 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Sat, 29 Aug 2020 22:16:47 +0100 Subject: [PATCH] Fixed pipeline --- .azuredevops/pipelines/publish-job.yml | 1 - .azuredevops/pipelines/templates/variables.yml | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.azuredevops/pipelines/publish-job.yml b/.azuredevops/pipelines/publish-job.yml index bcf07a168..27beedc14 100644 --- a/.azuredevops/pipelines/publish-job.yml +++ b/.azuredevops/pipelines/publish-job.yml @@ -1,7 +1,6 @@ variables: - template: templates/variables.yml - - isMain: $[eq(variables['Build.SourceBranch'], 'refs/heads/feature/v4')] stages: - stage: build diff --git a/.azuredevops/pipelines/templates/variables.yml b/.azuredevops/pipelines/templates/variables.yml index 737f7b9d1..507746641 100644 --- a/.azuredevops/pipelines/templates/variables.yml +++ b/.azuredevops/pipelines/templates/variables.yml @@ -4,7 +4,7 @@ variables: - name: "vmImage" value: "ubuntu-latest" - + - name: "Solution" value: "**/*.sln" @@ -24,4 +24,7 @@ variables: value: "$(Build.SourcesDirectory)/src/Ombi/ClientApp/" - name: "BuildVersion" - value: "4.0.$(Build.BuildId)" \ No newline at end of file + value: "4.0.$(Build.BuildId)" + + - name: isMain + value: $[eq(variables['Build.SourceBranch'], 'refs/heads/feature/v4')] \ No newline at end of file