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