Remove redundant ReleaseSuffix
This commit is contained in:
parent
7de8c9b04c
commit
51968b7105
2 changed files with 1 additions and 3 deletions
|
@ -619,8 +619,6 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
|
|
||||||
foreach (var project in ProjectsToPublish)
|
foreach (var project in ProjectsToPublish)
|
||||||
{
|
{
|
||||||
// TODO: Use the flag once we get a full build round tripped
|
|
||||||
// --version-suffix buildVesion.VersionSuffix
|
|
||||||
dotnet.Publish(
|
dotnet.Publish(
|
||||||
"--native-subdirectory",
|
"--native-subdirectory",
|
||||||
"--output",
|
"--output",
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
public class BuildVersion : Version
|
public class BuildVersion : Version
|
||||||
{
|
{
|
||||||
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{CommitCountString}";
|
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 NuGetVersion => $"{Major}.{Minor}.{Patch}-{VersionSuffix}";
|
||||||
public string NetCoreAppVersion => $"{Major}.{Minor}.{Patch}-rc2-3{CommitCountString}";
|
public string NetCoreAppVersion => $"{Major}.{Minor}.{Patch}-rc2-3{CommitCountString}";
|
||||||
public string ProductionVersion => $"{Major}.{Minor}.{Patch}";
|
public string ProductionVersion => $"{Major}.{Minor}.{Patch}";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue