Skip to content

Commit

Permalink
Add Skip.SetTestPipelineVersion (#1982)
Browse files Browse the repository at this point in the history
Add Skip.SetTestPipelineVersion to allow overiding the `SetTestPipelineVersion` step for template pipelines.
Resolves #1664
  • Loading branch information
chidozieononiwu authored Sep 8, 2021
1 parent 2e3ebd4 commit 91a70bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 91a70bc

Please sign in to comment.