2016-04-22 02:18:05 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli.Build
|
2016-02-02 18:04:50 +00:00
|
|
|
|
{
|
2016-05-04 02:41:48 +00:00
|
|
|
|
public class BuildVersion : Version
|
2016-02-02 18:04:50 +00:00
|
|
|
|
{
|
2016-02-16 22:02:50 +00:00
|
|
|
|
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{CommitCountString}";
|
2016-05-05 17:51:58 +00:00
|
|
|
|
public string VersionSuffix => $"{ReleaseSuffix}-{CommitCountString}";
|
2016-02-02 18:04:50 +00:00
|
|
|
|
public string NuGetVersion => $"{Major}.{Minor}.{Patch}-{VersionSuffix}";
|
2016-04-07 00:45:38 +00:00
|
|
|
|
public string NetCoreAppVersion => $"{Major}.{Minor}.{Patch}-rc2-3{CommitCountString}";
|
2016-03-15 22:07:47 +00:00
|
|
|
|
public string ProductionVersion => $"{Major}.{Minor}.{Patch}";
|
2016-02-02 18:04:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|