Remove redundant ReleaseSuffix

This commit is contained in:
Piotr Puszkiewicz 2016-05-04 19:08:47 -07:00 committed by Bryan
parent 7de8c9b04c
commit 51968b7105
2 changed files with 1 additions and 3 deletions

View file

@ -619,8 +619,6 @@ namespace Microsoft.DotNet.Cli.Build
foreach (var project in ProjectsToPublish)
{
// TODO: Use the flag once we get a full build round tripped
// --version-suffix buildVesion.VersionSuffix
dotnet.Publish(
"--native-subdirectory",
"--output",

View file

@ -5,7 +5,7 @@ namespace Microsoft.DotNet.Cli.Build
public class BuildVersion : Version
{
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{CommitCountString}";
public string VersionSuffix => $"{ReleaseSuffix}-{CommitCountString}";
public string VersionSuffix => $"{CommitCountString}";
public string NuGetVersion => $"{Major}.{Minor}.{Patch}-{VersionSuffix}";
public string NetCoreAppVersion => $"{Major}.{Minor}.{Patch}-rc2-3{CommitCountString}";
public string ProductionVersion => $"{Major}.{Minor}.{Patch}";