From 6ca63fa097fd2dfa922b853f6c3572f8ff0c1353 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Fri, 3 Sep 2021 18:38:30 -0700 Subject: [PATCH] Add Skip.SetTestPipelineVersion to allow overidiing of use of BuildID for test version --- .../pipelines/templates/steps/set-test-pipeline-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/pipelines/templates/steps/set-test-pipeline-version.yml b/eng/common/pipelines/templates/steps/set-test-pipeline-version.yml index 9f21918de99..091ef62766e 100644 --- a/eng/common/pipelines/templates/steps/set-test-pipeline-version.yml +++ b/eng/common/pipelines/templates/steps/set-test-pipeline-version.yml @@ -4,10 +4,10 @@ parameters: TestPipeline: false steps: -- ${{if eq(parameters.TestPipeline, 'true')}}: +- ${{ if eq(parameters.TestPipeline, 'true') }}: - task: PowerShell@2 displayName: Prep template pipeline for release - condition: succeeded() + condition: and(succeeded(), ne(variables['Skip.SetTestPipelineVersion'], 'true')) inputs: pwsh: true workingDirectory: $(Build.SourcesDirectory)