13 lines
545 B
C#
13 lines
545 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}-rc3-{CommitCountString}";
|
|
public string ProductionVersion => $"{Major}.{Minor}.{Patch}";
|
|
}
|
|
}
|