Skip to content

Commit

Permalink
Generate a string constant for GitIsDirty (VB)
Browse files Browse the repository at this point in the history
Fixes #43
  • Loading branch information
kzu authored Jun 15, 2017
1 parent d3b4446 commit 1a09870
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/GitInfo/build/GitInfo.vb.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#Const $MetadataDefine$ = 1
#If ADDMETADATA
<Assembly: System.Reflection.AssemblyMetadata("GitInfo.IsDirty", Global.RootNamespace.ThisAssembly.Git.IsDirty)>
<Assembly: System.Reflection.AssemblyMetadata("GitInfo.IsDirty", Global.RootNamespace.ThisAssembly.Git.IsDirtyString)>
<Assembly: System.Reflection.AssemblyMetadata("GitInfo.Branch", Global.RootNamespace.ThisAssembly.Git.Branch)>
<Assembly: System.Reflection.AssemblyMetadata("GitInfo.Commit", Global.RootNamespace.ThisAssembly.Git.Commit)>
<Assembly: System.Reflection.AssemblyMetadata("GitInfo.Sha", Global.RootNamespace.ThisAssembly.Git.Sha)>
Expand Down Expand Up @@ -33,6 +33,9 @@
''' <summary>IsDirty: $GitIsDirty$</summary>
Public Const IsDirty As Boolean = $GitIsDirty$

''' <summary>IsDirtyString: $GitIsDirty$</summary>
Public Const IsDirtyString As String = "$GitIsDirty$"
''' <summary>Branch: $GitBranch$</summary>
Public Const Branch As String = "$GitBranch$"

Expand Down

0 comments on commit 1a09870

Please sign in to comment.