File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1- <!-- This file is intentionally empty -->
2- <Project />
1+ <Project InitialTargets =" UpdateCiSettings" >
2+ <Target Name =" UpdateCiSettings" Condition =" '$(CI)' == 'true'" >
3+ <Message Importance =" High" Text =" ##vso[build.updatebuildnumber]$(PackageVersion)" />
4+ <!-- These tags can be used in Azure release pipelines to filter actions based on the type of build. -->
5+ <Message Importance =" high" Text =" ##vso[build.addbuildtag]daily-build" Condition =" '$(IsStableBuild)' != 'true' " />
6+ <Message Importance =" high" Text =" ##vso[build.addbuildtag]release-candidate" Condition =" '$(IsStableBuild)' == 'true' " />
7+ <Message Importance =" high" Text =" ##vso[build.addbuildtag]code-signed" Condition =" '$(CodeSign)' == 'true' " />
8+ </Target >
9+ </Project >
Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <VersionPrefix >2.3.1</VersionPrefix >
44 <VersionSuffix >build</VersionSuffix >
5- <IncludePreReleaseLabelInPackageVersion Condition =" '$(IsFinalBuild )' != 'true'" >true</IncludePreReleaseLabelInPackageVersion >
5+ <IncludePreReleaseLabelInPackageVersion Condition =" '$(IsStableBuild )' != 'true'" >true</IncludePreReleaseLabelInPackageVersion >
66 <BuildNumber Condition =" '$(BuildNumber)' == '' " >$(APPVEYOR_BUILD_NUMBER)</BuildNumber >
77 <BuildNumber Condition =" '$(BuildNumber)' == '' " >$(BUILD_BUILDNUMBER)</BuildNumber >
88 <BuildNumber Condition =" '$(BuildNumber)' == '' " >0</BuildNumber >
9- <FileVersion >$(VersionPrefix).$(BuildNumber)</FileVersion >
9+ <FileVersion >$(VersionPrefix).$(BuildNumber.Replace('.','') )</FileVersion >
1010 <VersionSuffix Condition =" '$(VersionSuffix)' != '' " >$(VersionSuffix).$(BuildNumber)</VersionSuffix >
1111 <RepositoryCommit Condition =" '$(RepositoryCommit)' == ''" >$(APPVEYOR_REPO_COMMIT)</RepositoryCommit >
1212 <RepositoryCommit Condition =" '$(RepositoryCommit)' == ''" >$(BUILD_SOURCEVERSION)</RepositoryCommit >
You can’t perform that action at this time.
0 commit comments