Skip to content

Commit

Permalink
exclude adding tags from PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
natemcmaster committed Jan 29, 2019
1 parent c6d41f7 commit bee99bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Target Name="UpdateCiSettings" Condition="'$(CI)' == 'true'">
<Message Importance="High" Text="##vso[build.updatebuildnumber]$(PackageVersion)" />
<!-- These tags can be used in Azure release pipelines to filter actions based on the type of build. -->
<Message Importance="high" Text="##vso[build.addbuildtag]daily-build" Condition=" '$(IsStableBuild)' != 'true' " />
<Message Importance="high" Text="##vso[build.addbuildtag]release-candidate" Condition=" '$(IsStableBuild)' == 'true' " />
<Message Importance="high" Text="##vso[build.addbuildtag]code-signed" Condition=" '$(CodeSign)' == 'true' " />
<Message Importance="high" Text="##vso[build.addbuildtag]daily-build" Condition=" '$(IsStableBuild)' != 'true' AND '$(BUILD_REASON)' != 'PullRequest' " />
<Message Importance="high" Text="##vso[build.addbuildtag]release-candidate" Condition=" '$(IsStableBuild)' == 'true' AND '$(BUILD_REASON)' != 'PullRequest' " />
<Message Importance="high" Text="##vso[build.addbuildtag]code-signed" Condition=" '$(CodeSign)' == 'true' AND '$(BUILD_REASON)' != 'PullRequest' " />
</Target>
</Project>

0 comments on commit bee99bd

Please sign in to comment.