Merge pull request #1443 from dotnet/anurse/fix-version-numbers
fix version number padding
This commit is contained in:
commit
c4010e6aa5
1 changed files with 3 additions and 8 deletions
|
@ -1,9 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.DotNet.Cli.Build
|
||||
namespace Microsoft.DotNet.Cli.Build
|
||||
{
|
||||
public class BuildVersion
|
||||
{
|
||||
|
@ -14,8 +9,8 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
public string CommitCountString => CommitCount.ToString("000000");
|
||||
public string ReleaseSuffix { get; set; }
|
||||
|
||||
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{CommitCount}";
|
||||
public string VersionSuffix => $"{ReleaseSuffix}-{CommitCount}";
|
||||
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{CommitCountString}";
|
||||
public string VersionSuffix => $"{ReleaseSuffix}-{CommitCountString}";
|
||||
public string NuGetVersion => $"{Major}.{Minor}.{Patch}-{VersionSuffix}";
|
||||
|
||||
public string GenerateMsiVersion()
|
||||
|
|
Loading…
Reference in a new issue