GitInfo.vb.pp 4.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. ' <auto-generated/>
  2. #Const $NamespaceDefine$ = 1
  3. #Const $MetadataDefine$ = 1
  4. #If ADDMETADATA
  5. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.IsDirty", Global.RootNamespace.ThisAssembly.Git.IsDirtyString)>
  6. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.Branch", Global.RootNamespace.ThisAssembly.Git.Branch)>
  7. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.Commit", Global.RootNamespace.ThisAssembly.Git.Commit)>
  8. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.Sha", Global.RootNamespace.ThisAssembly.Git.Sha)>
  9. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseVersion.Major", Global.RootNamespace.ThisAssembly.Git.BaseVersion.Major)>
  10. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseVersion.Minor", Global.RootNamespace.ThisAssembly.Git.BaseVersion.Minor)>
  11. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseVersion.Patch", Global.RootNamespace.ThisAssembly.Git.BaseVersion.Patch)>
  12. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.Commits", Global.RootNamespace.ThisAssembly.Git.Commits)>
  13. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.Tag", Global.RootNamespace.ThisAssembly.Git.Tag)>
  14. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseTag", Global.RootNamespace.ThisAssembly.Git.BaseTag)>
  15. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Major", Global.RootNamespace.ThisAssembly.Git.SemVer.Major)>
  16. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Minor", Global.RootNamespace.ThisAssembly.Git.SemVer.Minor)>
  17. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Patch", Global.RootNamespace.ThisAssembly.Git.SemVer.Patch)>
  18. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Label", Global.RootNamespace.ThisAssembly.Git.SemVer.Label)>
  19. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.DashLabel", Global.RootNamespace.ThisAssembly.Git.SemVer.DashLabel)>
  20. <Assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Source", Global.RootNamespace.ThisAssembly.Git.SemVer.Source)>
  21. #End If
  22. #If LOCALNAMESPACE
  23. Namespace Global._RootNamespace_
  24. #Else
  25. Namespace Global
  26. #End If
  27. ''' <summary>Provides access to the git information for the current assembly.</summary>
  28. Partial Class ThisAssembly
  29. ''' <summary>Provides access to the git information for the current assembly.</summary>
  30. Partial Public Class Git
  31. ''' <summary>IsDirty: $GitIsDirty$</summary>
  32. Public Const IsDirty As Boolean = $GitIsDirty$
  33. ''' <summary>IsDirtyString: $GitIsDirty$</summary>
  34. Public Const IsDirtyString As String = "$GitIsDirty$"
  35. ''' <summary>Branch: $GitBranch$</summary>
  36. Public Const Branch As String = "$GitBranch$"
  37. ''' <summary>Commit: $GitCommit$</summary>
  38. Public Const Commit As String = "$GitCommit$"
  39. ''' <summary>Commit: $GitSha$</summary>
  40. Public Const Sha As String = "$GitSha$"
  41. ''' <summary>Commits on top of base version: $GitCommits$</summary>
  42. Public Const Commits As String = "$GitCommits$"
  43. ''' <summary>Tag: $GitTag$</summary>
  44. Public Const Tag As String = "$GitTag$"
  45. ''' <summary>Base tag: $GitBaseTag$</summary>
  46. Public Const BaseTag As String = "$GitBaseTag$"
  47. ''' <summary>Provides access to the base version information used to determine the <see cref="SemVer" />.</summary>
  48. Partial Public Class BaseVersion
  49. ''' <summary>Major: $GitBaseVersionMajor$</summary>
  50. Public Const Major As String = "$GitBaseVersionMajor$"
  51. ''' <summary>Minor $GitBaseVersionMinor$</summary>
  52. Public Const Minor As String = "$GitBaseVersionMinor$"
  53. ''' <summary>Patch $GitBaseVersionPatch$</summary>
  54. Public Const Patch As String = "$GitBaseVersionPatch$"
  55. End Class
  56. ''' <summary>Provides access to SemVer information for the current assembly.</summary>
  57. Partial Public Class SemVer
  58. ''' <summary>Major: $GitSemVerMajor$</summary>
  59. Public Const Major As String = "$GitSemVerMajor$"
  60. ''' <summary>Minor: $GitSemVerMinor$</summary>
  61. Public Const Minor As String = "$GitSemVerMinor$"
  62. ''' <summary>Patch: $GitSemVerPatch$</summary>
  63. Public Const Patch As String = "$GitSemVerPatch$"
  64. ''' <summary>Label: $GitSemVerLabel$</summary>
  65. Public Const Label As String = "$GitSemVerLabel$"
  66. ''' <summary>Label with dash prefix: $GitSemVerDashLabel$</summary>
  67. Public Const DashLabel As String = "$GitSemVerDashLabel$"
  68. ''' <summary>Label with dash prefix: $GitSemVerSource$</summary>
  69. Public Const Source As String = "$GitSemVerVerSource$"
  70. End Class
  71. End Class
  72. End Class
  73. End Namespace