forked from natemcmaster/DotNetCorePlugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
11 lines (9 loc) · 838 Bytes
/
Copy pathDirectory.Build.targets
File metadata and controls
11 lines (9 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
<Project InitialTargets="UpdateCiSettings">
<Target Name="UpdateCiSettings" Condition="'$(CI)' == 'true' AND '$(OS)' == 'Windows_NT'">
<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' 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>