Skip to content

Commit a8c2e58

Browse files
authored
Merge pull request #58 from dorssel/dependabot/nuget/GitVersion.MsBuild-6.6.0
Bump GitVersion.MsBuild from 6.5.1 to 6.6.0
2 parents aea4266 + 07785df commit a8c2e58

File tree

2 files changed

+34
-25
lines changed

2 files changed

+34
-25
lines changed

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SPDX-License-Identifier: MIT
77
<Project>
88
<ItemGroup>
99
<!-- GitVersion.MsBuild -->
10-
<PackageVersion Include="GitVersion.MsBuild" Version="6.5.1" />
10+
<PackageVersion Include="GitVersion.MsBuild" Version="6.6.0" />
1111
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="18.3.3" />
1212
<!-- UnitTests -->
1313
<PackageVersion Include="Moq" Version="4.20.72" />

GitVersion.MsBuild/GetVersion.cs

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,65 +7,68 @@
77

88
namespace Dorssel.GitVersion.MsBuild;
99

10-
public class GetVersion
11-
: GitVersionTaskBase
10+
public class GetVersion : GitVersionTaskBase
1211
{
1312
[Output]
14-
public string Major { get; set; } = string.Empty;
13+
public string AssemblySemFileVer { get; set; } = string.Empty;
1514

1615
[Output]
17-
public string Minor { get; set; } = string.Empty;
16+
public string AssemblySemVer { get; set; } = string.Empty;
1817

1918
[Output]
20-
public string Patch { get; set; } = string.Empty;
19+
public string BranchName { get; set; } = string.Empty;
2120

2221
[Output]
23-
public string PreReleaseTag { get; set; } = string.Empty;
22+
public string BuildMetaData { get; set; } = string.Empty;
2423

2524
[Output]
26-
public string PreReleaseTagWithDash { get; set; } = string.Empty;
25+
public string CommitDate { get; set; } = string.Empty;
2726

2827
[Output]
29-
public string PreReleaseLabel { get; set; } = string.Empty;
28+
[Obsolete("CommitsSinceVersionSource has been deprecated. Use VersionSourceDistance instead.")]
29+
public string CommitsSinceVersionSource { get; set; } = string.Empty;
3030

3131
[Output]
32-
public string PreReleaseLabelWithDash { get; set; } = string.Empty;
32+
public string EscapedBranchName { get; set; } = string.Empty;
3333

3434
[Output]
35-
public string PreReleaseNumber { get; set; } = string.Empty;
35+
public string FullBuildMetaData { get; set; } = string.Empty;
3636

3737
[Output]
38-
public string WeightedPreReleaseNumber { get; set; } = string.Empty;
38+
public string FullSemVer { get; set; } = string.Empty;
3939

4040
[Output]
41-
public string BuildMetaData { get; set; } = string.Empty;
41+
public string InformationalVersion { get; set; } = string.Empty;
4242

4343
[Output]
44-
public string FullBuildMetaData { get; set; } = string.Empty;
44+
public string Major { get; set; } = string.Empty;
4545

4646
[Output]
4747
public string MajorMinorPatch { get; set; } = string.Empty;
4848

4949
[Output]
50-
public string SemVer { get; set; } = string.Empty;
50+
public string Minor { get; set; } = string.Empty;
5151

5252
[Output]
53-
public string AssemblySemVer { get; set; } = string.Empty;
53+
public string Patch { get; set; } = string.Empty;
5454

5555
[Output]
56-
public string AssemblySemFileVer { get; set; } = string.Empty;
56+
public string PreReleaseLabel { get; set; } = string.Empty;
5757

5858
[Output]
59-
public string FullSemVer { get; set; } = string.Empty;
59+
public string PreReleaseLabelWithDash { get; set; } = string.Empty;
6060

6161
[Output]
62-
public string InformationalVersion { get; set; } = string.Empty;
62+
public string PreReleaseNumber { get; set; } = string.Empty;
6363

6464
[Output]
65-
public string BranchName { get; set; } = string.Empty;
65+
public string PreReleaseTag { get; set; } = string.Empty;
6666

6767
[Output]
68-
public string EscapedBranchName { get; set; } = string.Empty;
68+
public string PreReleaseTagWithDash { get; set; } = string.Empty;
69+
70+
[Output]
71+
public string SemVer { get; set; } = string.Empty;
6972

7073
[Output]
7174
public string Sha { get; set; } = string.Empty;
@@ -74,16 +77,22 @@ public class GetVersion
7477
public string ShortSha { get; set; } = string.Empty;
7578

7679
[Output]
77-
public string CommitDate { get; set; } = string.Empty;
80+
public string UncommittedChanges { get; set; } = string.Empty;
7881

7982
[Output]
80-
public string VersionSourceSha { get; set; } = string.Empty;
83+
public string VersionSourceDistance { get; set; } = string.Empty;
8184

8285
[Output]
83-
public string CommitsSinceVersionSource { get; set; } = string.Empty;
86+
public string VersionSourceIncrement { get; set; } = string.Empty;
8487

8588
[Output]
86-
public string UncommittedChanges { get; set; } = string.Empty;
89+
public string VersionSourceSemVer { get; set; } = string.Empty;
90+
91+
[Output]
92+
public string VersionSourceSha { get; set; } = string.Empty;
93+
94+
[Output]
95+
public string WeightedPreReleaseNumber { get; set; } = string.Empty;
8796

8897
public override bool Execute()
8998
{

0 commit comments

Comments
 (0)