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:
Wes Haggard 2016-04-06 15:26:21 -07:00
parent b772db9b29
commit d6a1771c86

View file

@ -41,13 +41,10 @@
</Dependency> </Dependency>
</ItemGroup> </ItemGroup>
<!-- Use NETStandard.Library version suffix for version suffix of Microsoft.NETCore.App -->
<PropertyGroup> <PropertyGroup>
<NETStandardBuildNumber Condition="'%(Dependency.Identity)' == 'NETSTandard.Library'">$([System.Text.RegularExpressions.Regex]::Match('%(Dependency.Version)', -.*))</NETStandardBuildNumber> <!-- For RC2 we need to start with -rc2-3 so that it is higher then the last published -rc2-23931 -->
<VersionSuffix Condition="'$(NETStandardBuildNumber)' != ''">$(NETStandardBuildNumber)</VersionSuffix> <VersionSuffix>-rc2-3$(CLIBuildVersion)</VersionSuffix>
<VersionSuffix Condition="'$(CLIBuildVersion)' != ''">$(VersionSuffix)-$(CLIBuildVersion)</VersionSuffix>
</PropertyGroup> </PropertyGroup>
</Target> </Target>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />