Fix PublishTargets to use the correct Shared Host Nuget Version.

Also update the VersionSuffix to use the ReleaseSuffix as before.
This commit is contained in:
Sridhar Periyasamy 2016-05-04 12:25:26 -07:00 committed by Bryan
parent d1cd3703ac
commit 8b55c50011
3 changed files with 15 additions and 10 deletions

View file

@ -5,7 +5,7 @@ namespace Microsoft.DotNet.Cli.Build
public class BuildVersion : Version
{
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{CommitCountString}";
public string VersionSuffix => $"{CommitCountString}";
public string VersionSuffix => $"{ReleaseSuffix}-{CommitCountString}";
public string NuGetVersion => $"{Major}.{Minor}.{Patch}-{VersionSuffix}";
public string NetCoreAppVersion => $"{Major}.{Minor}.{Patch}-rc2-3{CommitCountString}";
public string ProductionVersion => $"{Major}.{Minor}.{Patch}";