dotnet-installer/scripts/dotnet-cli-build/Utils/BuildVersion.cs
Sridhar Periyasamy 8b55c50011 Fix PublishTargets to use the correct Shared Host Nuget Version.
Also update the VersionSuffix to use the ReleaseSuffix as before.
2016-05-05 11:05:58 -07:00

13 lines
546 B
C#

using System.Collections.Generic;
namespace Microsoft.DotNet.Cli.Build
{
public class BuildVersion : Version
{
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{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}";
}
}