77
88namespace 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