Merge all hard-coded versions and version suffixes to be defined in a single spot.

This commit is contained in:
Eric Erhardt 2017-01-10 17:31:43 -06:00
parent 36d03ce4ce
commit c481ad9cdc
22 changed files with 40 additions and 120 deletions

View file

@ -7,7 +7,5 @@ namespace Microsoft.DotNet.Cli.Build
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}";
}
}