// #define $NamespaceDefine$ #define $MetadataDefine$ #pragma warning disable 0436 #if ADDMETADATA [assembly: System.Reflection.AssemblyMetadata("GitInfo.IsDirty", RootNamespace.ThisAssembly.Git.IsDirtyString)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.Branch", RootNamespace.ThisAssembly.Git.Branch)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.Commit", RootNamespace.ThisAssembly.Git.Commit)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.Sha", RootNamespace.ThisAssembly.Git.Sha)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseVersion.Major", RootNamespace.ThisAssembly.Git.BaseVersion.Major)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseVersion.Minor", RootNamespace.ThisAssembly.Git.BaseVersion.Minor)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseVersion.Patch", RootNamespace.ThisAssembly.Git.BaseVersion.Patch)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.Commits", RootNamespace.ThisAssembly.Git.Commits)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.Tag", RootNamespace.ThisAssembly.Git.Tag)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.BaseTag", RootNamespace.ThisAssembly.Git.BaseTag)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Major", RootNamespace.ThisAssembly.Git.SemVer.Major)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Minor", RootNamespace.ThisAssembly.Git.SemVer.Minor)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Patch", RootNamespace.ThisAssembly.Git.SemVer.Patch)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Label", RootNamespace.ThisAssembly.Git.SemVer.Label)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.DashLabel", RootNamespace.ThisAssembly.Git.SemVer.DashLabel)] [assembly: System.Reflection.AssemblyMetadata("GitInfo.SemVer.Source", RootNamespace.ThisAssembly.Git.SemVer.Source)] #endif #if LOCALNAMESPACE namespace _RootNamespace_ { #endif /// Provides access to the current assembly information. partial class ThisAssembly { /// Provides access to the git information for the current assembly. public partial class Git { /// IsDirty: $GitIsDirty$ public const bool IsDirty = $GitIsDirty$; /// IsDirtyString: $GitIsDirty$ public const string IsDirtyString = "$GitIsDirty$"; /// Branch: $GitBranch$ public const string Branch = "$GitBranch$"; /// Commit: $GitCommit$ public const string Commit = "$GitCommit$"; /// Sha: $GitSha$ public const string Sha = "$GitSha$"; /// Commits on top of base version: $GitCommits$ public const string Commits = "$GitCommits$"; /// Tag: $GitTag$ public const string Tag = "$GitTag$"; /// Base tag: $GitBaseTag$ public const string BaseTag = "$GitBaseTag$"; /// Provides access to the base version information used to determine the . public partial class BaseVersion { /// Major: $GitBaseVersionMajor$ public const string Major = "$GitBaseVersionMajor$"; /// Minor: $GitBaseVersionMinor$ public const string Minor = "$GitBaseVersionMinor$"; /// Patch: $GitBaseVersionPatch$ public const string Patch = "$GitBaseVersionPatch$"; } /// Provides access to SemVer information for the current assembly. public partial class SemVer { /// Major: $GitSemVerMajor$ public const string Major = "$GitSemVerMajor$"; /// Minor: $GitSemVerMinor$ public const string Minor = "$GitSemVerMinor$"; /// Patch: $GitSemVerPatch$ public const string Patch = "$GitSemVerPatch$"; /// Label: $GitSemVerLabel$ public const string Label = "$GitSemVerLabel$"; /// Label with dash prefix: $GitSemVerDashLabel$ public const string DashLabel = "$GitSemVerDashLabel$"; /// Source: $GitSemVerSource$ public const string Source = "$GitSemVerSource$"; } } } #if LOCALNAMESPACE } #endif #pragma warning restore 0436