File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 69
69
</Target >
70
70
71
71
72
- <Target Name =" GenerateAssemblyCommitIdsCs" Inputs =" $(libgit2_propsfile);$(VersionSourceFile)" Outputs =" $(AssemblyCommitIdsPath)" BeforeTargets =" CoreCompile" DependsOnTargets = " DefineProperties; GenerateAssemblyVersionInfo" Condition = " '$(GitCommitId)' != '' " >
72
+ <Target Name =" GenerateAssemblyCommitIdsCs" Inputs =" $(libgit2_propsfile);$(VersionSourceFile)" Outputs =" $(AssemblyCommitIdsPath)" BeforeTargets =" CoreCompile" AfterTargets = " GenerateAssemblyVersionInfo" DependsOnTargets = " DefineProperties " >
73
73
74
74
<PropertyGroup >
75
+ <LibGit2SharpCommitSha >unknown</LibGit2SharpCommitSha >
76
+ <LibGit2SharpCommitSha Condition =" '$(GitCommitId)' != ''" >$(GitCommitId)</LibGit2SharpCommitSha >
75
77
<AssemblyCommitIdsSourceLines >
76
78
namespace LibGit2Sharp
77
79
{
78
80
internal static class AssemblyCommitIds
79
81
{
80
82
public const string LibGit2CommitSha = "$(libgit2_hash)"%3b
81
- public const string LibGit2SharpCommitSha = "$(GitCommitId )"%3b
83
+ public const string LibGit2SharpCommitSha = "$(LibGit2SharpCommitSha )"%3b
82
84
}
83
85
}
84
86
</AssemblyCommitIdsSourceLines >
You can’t perform that action at this time.
0 commit comments