|
6 | 6 | namespace _RootNamespace_ |
7 | 7 | { |
8 | 8 | #endif |
9 | | - /// <summary>Provides access to the current assembly information.</summary> |
10 | | - partial class ThisAssembly |
11 | | - { |
12 | | - /// <summary>Provides access to the git information for the current assembly.</summary> |
13 | | - public partial class Git |
| 9 | + /// <summary>Provides access to the current assembly information.</summary> |
| 10 | + partial class ThisAssembly |
14 | 11 | { |
15 | | - /// <summary>IsDirty: $GitIsDirty$</summary> |
16 | | - public const bool IsDirty = $GitIsDirty$; |
| 12 | + /// <summary>Provides access to the git information for the current assembly.</summary> |
| 13 | + public partial class Git |
| 14 | + { |
| 15 | + /// <summary>IsDirty: $GitIsDirty$</summary> |
| 16 | + public const bool IsDirty = $GitIsDirty$; |
17 | 17 |
|
18 | | - /// <summary>IsDirtyString: $GitIsDirty$</summary> |
19 | | - public const string IsDirtyString = @"$GitIsDirty$"; |
| 18 | + /// <summary>IsDirtyString: $GitIsDirty$</summary> |
| 19 | + public const string IsDirtyString = @"$GitIsDirty$"; |
20 | 20 |
|
21 | | - /// <summary>Repository URL: $GitRepositoryUrl$</summary> |
22 | | - public const string RepositoryUrl = @"$GitRepositoryUrl$"; |
| 21 | + /// <summary>Repository URL: $GitRepositoryUrl$</summary> |
| 22 | + public const string RepositoryUrl = @"$GitRepositoryUrl$"; |
23 | 23 |
|
24 | | - /// <summary>Branch: $GitBranch$</summary> |
25 | | - public const string Branch = @"$GitBranch$"; |
| 24 | + /// <summary>Branch: $GitBranch$</summary> |
| 25 | + public const string Branch = @"$GitBranch$"; |
26 | 26 |
|
27 | | - /// <summary>Commit: $GitCommit$</summary> |
28 | | - public const string Commit = @"$GitCommit$"; |
| 27 | + /// <summary>Commit: $GitCommit$</summary> |
| 28 | + public const string Commit = @"$GitCommit$"; |
29 | 29 |
|
30 | | - /// <summary>Sha: $GitSha$</summary> |
31 | | - public const string Sha = @"$GitSha$"; |
| 30 | + /// <summary>Sha: $GitSha$</summary> |
| 31 | + public const string Sha = @"$GitSha$"; |
32 | 32 |
|
33 | | - /// <summary>Commit date: $GitCommitDate$</summary> |
34 | | - public const string CommitDate = @"$GitCommitDate$"; |
| 33 | + /// <summary>Commit date: $GitCommitDate$</summary> |
| 34 | + public const string CommitDate = @"$GitCommitDate$"; |
35 | 35 |
|
36 | | - /// <summary>Commits on top of base version: $GitCommits$</summary> |
37 | | - public const string Commits = @"$GitCommits$"; |
| 36 | + /// <summary>Commits on top of base version: $GitCommits$</summary> |
| 37 | + public const string Commits = @"$GitCommits$"; |
38 | 38 |
|
39 | | - /// <summary>Tag: $GitTag$</summary> |
40 | | - public const string Tag = @"$GitTag$"; |
| 39 | + /// <summary>Tag: $GitTag$</summary> |
| 40 | + public const string Tag = @"$GitTag$"; |
41 | 41 |
|
42 | | - /// <summary>Base tag: $GitBaseTag$</summary> |
43 | | - public const string BaseTag = @"$GitBaseTag$"; |
| 42 | + /// <summary>Base tag: $GitBaseTag$</summary> |
| 43 | + public const string BaseTag = @"$GitBaseTag$"; |
44 | 44 |
|
45 | | - /// <summary>Provides access to the base version information used to determine the <see cref="SemVer" />.</summary> |
46 | | - public partial class BaseVersion |
47 | | - { |
48 | | - /// <summary>Major: $GitBaseVersionMajor$</summary> |
49 | | - public const string Major = @"$GitBaseVersionMajor$"; |
| 45 | + /// <summary>Provides access to the base version information used to determine the <see cref="SemVer" />.</summary> |
| 46 | + public partial class BaseVersion |
| 47 | + { |
| 48 | + /// <summary>Major: $GitBaseVersionMajor$</summary> |
| 49 | + public const string Major = @"$GitBaseVersionMajor$"; |
50 | 50 |
|
51 | | - /// <summary>Minor: $GitBaseVersionMinor$</summary> |
52 | | - public const string Minor = @"$GitBaseVersionMinor$"; |
| 51 | + /// <summary>Minor: $GitBaseVersionMinor$</summary> |
| 52 | + public const string Minor = @"$GitBaseVersionMinor$"; |
53 | 53 |
|
54 | | - /// <summary>Patch: $GitBaseVersionPatch$</summary> |
55 | | - public const string Patch = @"$GitBaseVersionPatch$"; |
56 | | - } |
| 54 | + /// <summary>Patch: $GitBaseVersionPatch$</summary> |
| 55 | + public const string Patch = @"$GitBaseVersionPatch$"; |
| 56 | + } |
57 | 57 |
|
58 | | - /// <summary>Provides access to SemVer information for the current assembly.</summary> |
59 | | - public partial class SemVer |
60 | | - { |
61 | | - /// <summary>Major: $GitSemVerMajor$</summary> |
62 | | - public const string Major = @"$GitSemVerMajor$"; |
| 58 | + /// <summary>Provides access to SemVer information for the current assembly.</summary> |
| 59 | + public partial class SemVer |
| 60 | + { |
| 61 | + /// <summary>Major: $GitSemVerMajor$</summary> |
| 62 | + public const string Major = @"$GitSemVerMajor$"; |
63 | 63 |
|
64 | | - /// <summary>Minor: $GitSemVerMinor$</summary> |
65 | | - public const string Minor = @"$GitSemVerMinor$"; |
| 64 | + /// <summary>Minor: $GitSemVerMinor$</summary> |
| 65 | + public const string Minor = @"$GitSemVerMinor$"; |
66 | 66 |
|
67 | | - /// <summary>Patch: $GitSemVerPatch$</summary> |
68 | | - public const string Patch = @"$GitSemVerPatch$"; |
| 67 | + /// <summary>Patch: $GitSemVerPatch$</summary> |
| 68 | + public const string Patch = @"$GitSemVerPatch$"; |
69 | 69 |
|
70 | | - /// <summary>Label: $GitSemVerLabel$</summary> |
71 | | - public const string Label = @"$GitSemVerLabel$"; |
| 70 | + /// <summary>Label: $GitSemVerLabel$</summary> |
| 71 | + public const string Label = @"$GitSemVerLabel$"; |
72 | 72 |
|
73 | | - /// <summary>Label with dash prefix: $GitSemVerDashLabel$</summary> |
74 | | - public const string DashLabel = @"$GitSemVerDashLabel$"; |
| 73 | + /// <summary>Label with dash prefix: $GitSemVerDashLabel$</summary> |
| 74 | + public const string DashLabel = @"$GitSemVerDashLabel$"; |
75 | 75 |
|
76 | | - /// <summary>Source: $GitSemVerSource$</summary> |
77 | | - public const string Source = @"$GitSemVerSource$"; |
78 | | - } |
| 76 | + /// <summary>Source: $GitSemVerSource$</summary> |
| 77 | + public const string Source = @"$GitSemVerSource$"; |
| 78 | + } |
| 79 | + } |
79 | 80 | } |
80 | | - } |
81 | 81 | #if LOCALNAMESPACE |
82 | 82 | } |
83 | 83 | #endif |
|
0 commit comments