Add Skip.SetTestPipelineVersion to allow overidiing of use of BuildID for test version (#2849)

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
This commit is contained in:
Azure SDK Bot 2021-09-08 12:58:47 -07:00 committed by GitHub
parent 41138dcc8a
commit 91b459b560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)