File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- <Project InitialTargets = " UpdateCiSettings " >
2- <Target Name =" UpdateCiSettings" Condition =" '$(CI)' == 'true'" >
1+ <Project >
2+ <Target Name =" UpdateCiSettings" Condition =" '$(CI)' == 'true' AND '$(OS)' == 'Windows_NT' AND '$(IsPackable)' == 'true' " >
33 <Message Importance =" High" Text =" ##vso[build.updatebuildnumber]$(PackageVersion)" />
44 <!-- These tags can be used in Azure release pipelines to filter actions based on the type of build. -->
55 <Message Importance =" high" Text =" ##vso[build.addbuildtag]daily-build" Condition =" '$(IsStableBuild)' != 'true' AND '$(BUILD_REASON)' != 'PullRequest' " />
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ if ($CodeSign) {
6969$artifacts = " $PSScriptRoot /artifacts/"
7070
7171Remove-Item - Recurse $artifacts - ErrorAction Ignore
72-
72+ exec dotnet msbuild / t:UpdateCiSettings @MSBuildArgs
7373exec dotnet build -- configuration $Configuration ' -warnaserror:CS1591' @MSBuildArgs
7474exec dotnet pack -- no- restore -- no- build -- configuration $Configuration - o $artifacts @MSBuildArgs
7575
You can’t perform that action at this time.
0 commit comments