Update prerelease version scheme for Microsoft.NETCore.App
Change the version scheme for RC2 to be -rc2-3<CLIBuildVersion> The reason it needs to be -rc2-3* because it needs to be higher then the last published version which is -rc2-23931.
This commit is contained in:
parent
b772db9b29
commit
d6a1771c86
1 changed files with 2 additions and 5 deletions
|
@ -41,13 +41,10 @@
|
|||
</Dependency>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Use NETStandard.Library version suffix for version suffix of Microsoft.NETCore.App -->
|
||||
<PropertyGroup>
|
||||
<NETStandardBuildNumber Condition="'%(Dependency.Identity)' == 'NETSTandard.Library'">$([System.Text.RegularExpressions.Regex]::Match('%(Dependency.Version)', -.*))</NETStandardBuildNumber>
|
||||
<VersionSuffix Condition="'$(NETStandardBuildNumber)' != ''">$(NETStandardBuildNumber)</VersionSuffix>
|
||||
<VersionSuffix Condition="'$(CLIBuildVersion)' != ''">$(VersionSuffix)-$(CLIBuildVersion)</VersionSuffix>
|
||||
<!-- For RC2 we need to start with -rc2-3 so that it is higher then the last published -rc2-23931 -->
|
||||
<VersionSuffix>-rc2-3$(CLIBuildVersion)</VersionSuffix>
|
||||
</PropertyGroup>
|
||||
|
||||
</Target>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue