2
0

GitInfo.cs.pp 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. // <auto-generated />
  2. #define $NamespaceDefine$
  3. #define $MetadataDefine$
  4. #pragma warning disable 0436
  5. #if ADDMETADATA
  6. [assembly: System.Reflection.AssemblyMetadata("GitInfo.IsDirty", RootNamespace.ThisAssembly.Git.IsDirtyString)]
  7. [assembly: System.Reflection.AssemblyMetadata("GitInfo.Branch", RootNamespace.ThisAssembly.Git.Branch)]
  8. [assembly: System.Reflection.AssemblyMetadata("GitInfo.Commit", RootNamespace.ThisAssembly.Git.Commit)]
  9. [assembly: System.Reflection.AssemblyMetadata("GitInfo.Sha", RootNamespace.ThisAssembly.Git.Sha)]
  10. [assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseVersion.Major", RootNamespace.ThisAssembly.Git.BaseVersion.Major)]
  11. [assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseVersion.Minor", RootNamespace.ThisAssembly.Git.BaseVersion.Minor)]
  12. [assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseVersion.Patch", RootNamespace.ThisAssembly.Git.BaseVersion.Patch)]
  13. [assembly: System.Reflection.AssemblyMetadata("GitInfo.Commits", RootNamespace.ThisAssembly.Git.Commits)]
  14. [assembly: System.Reflection.AssemblyMetadata("GitInfo.Tag", RootNamespace.ThisAssembly.Git.Tag)]
  15. [assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseTag", RootNamespace.ThisAssembly.Git.BaseTag)]
  16. [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Major", RootNamespace.ThisAssembly.Git.SemVer.Major)]
  17. [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Minor", RootNamespace.ThisAssembly.Git.SemVer.Minor)]
  18. [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Patch", RootNamespace.ThisAssembly.Git.SemVer.Patch)]
  19. [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Label", RootNamespace.ThisAssembly.Git.SemVer.Label)]
  20. [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.DashLabel", RootNamespace.ThisAssembly.Git.SemVer.DashLabel)]
  21. [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Source", RootNamespace.ThisAssembly.Git.SemVer.Source)]
  22. #endif
  23. #if LOCALNAMESPACE
  24. namespace _RootNamespace_
  25. {
  26. #endif
  27. /// <summary>Provides access to the current assembly information.</summary>
  28. partial class ThisAssembly
  29. {
  30. /// <summary>Provides access to the git information for the current assembly.</summary>
  31. public partial class Git
  32. {
  33. /// <summary>IsDirty: $GitIsDirty$</summary>
  34. public const bool IsDirty = $GitIsDirty$;
  35. /// <summary>IsDirtyString: $GitIsDirty$</summary>
  36. public const string IsDirtyString = "$GitIsDirty$";
  37. /// <summary>Branch: $GitBranch$</summary>
  38. public const string Branch = "$GitBranch$";
  39. /// <summary>Commit: $GitCommit$</summary>
  40. public const string Commit = "$GitCommit$";
  41. /// <summary>Sha: $GitSha$</summary>
  42. public const string Sha = "$GitSha$";
  43. /// <summary>Commits on top of base version: $GitCommits$</summary>
  44. public const string Commits = "$GitCommits$";
  45. /// <summary>Tag: $GitTag$</summary>
  46. public const string Tag = "$GitTag$";
  47. /// <summary>Base tag: $GitBaseTag$</summary>
  48. public const string BaseTag = "$GitBaseTag$";
  49. /// <summary>Provides access to the base version information used to determine the <see cref="SemVer" />.</summary>
  50. public partial class BaseVersion
  51. {
  52. /// <summary>Major: $GitBaseVersionMajor$</summary>
  53. public const string Major = "$GitBaseVersionMajor$";
  54. /// <summary>Minor: $GitBaseVersionMinor$</summary>
  55. public const string Minor = "$GitBaseVersionMinor$";
  56. /// <summary>Patch: $GitBaseVersionPatch$</summary>
  57. public const string Patch = "$GitBaseVersionPatch$";
  58. }
  59. /// <summary>Provides access to SemVer information for the current assembly.</summary>
  60. public partial class SemVer
  61. {
  62. /// <summary>Major: $GitSemVerMajor$</summary>
  63. public const string Major = "$GitSemVerMajor$";
  64. /// <summary>Minor: $GitSemVerMinor$</summary>
  65. public const string Minor = "$GitSemVerMinor$";
  66. /// <summary>Patch: $GitSemVerPatch$</summary>
  67. public const string Patch = "$GitSemVerPatch$";
  68. /// <summary>Label: $GitSemVerLabel$</summary>
  69. public const string Label = "$GitSemVerLabel$";
  70. /// <summary>Label with dash prefix: $GitSemVerDashLabel$</summary>
  71. public const string DashLabel = "$GitSemVerDashLabel$";
  72. /// <summary>Source: $GitSemVerSource$</summary>
  73. public const string Source = "$GitSemVerSource$";
  74. }
  75. }
  76. }
  77. #if LOCALNAMESPACE
  78. }
  79. #endif
  80. #pragma warning restore 0436