Skip to content

Commit

Permalink
Update azure-pipeline.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
mnelli19 committed Jul 26, 2021
1 parent ca9e67f commit c418c88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions azure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ stages:
echo $(versionCounter)
echo 'commit message: $(Build.SourceVersionMessage)'
echo '##vso[task.setvariable variable=message]$(Build.SourceVersionMessage)'
if [[ $(Build.SourceVersionMessage) == *"#build-release"* ]]; then
if [[ $(Build_SourceVersionMessage) == *"#build-release"* ]]; then
echo '##vso[task.setvariable variable=build]true'
echo '##vso[task.setvariable variable=release]true'
fi
if [[ $(Build.SourceVersionMessage) == *"#build-debug"* ]]; then
if [[ $(Build_SourceVersionMessage) == *"#build-debug"* ]]; then
echo '##vso[task.setvariable variable=build]true'
echo '##vso[task.setvariable variable=debug]true'
fi
if [[ $(Build.SourceVersionMessage) == *"#appcenter"* ]]; then
if [[ $(Build_SourceVersionMessage) == *"#appcenter"* ]]; then
echo '##vso[task.setvariable variable=appcenter]true'
fi
if [[ $(Build.SourceVersionMessage) == *"#store"* ]]; then
if [[ $(Build_SourceVersionMessage) == *"#store"* ]]; then
echo '##vso[task.setvariable variable=store]true'
fi
failOnStderr: true
Expand Down

0 comments on commit c418c88

Please sign in to comment.