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