Skip to content

Commit

Permalink
Set Configuration to Release for tagged builds (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkl authored Jun 13, 2019
1 parent 634f71c commit 6c61e8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ pr:
- README.md

steps:
- script: 'echo ##vso[task.setvariable variable=BuildConfiguration;]Release'
displayName: 'Set BuildConfiguration to Release for tagged commits'
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))

- task: MSBuild@1
displayName: 'Build Solution'
inputs:
Expand Down

0 comments on commit 6c61e8c

Please sign in to comment.