Add back 000000 padding to commit count
This commit is contained in:
parent
ea15463bd5
commit
06ab197be5
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
|||
</Exec>
|
||||
|
||||
<PropertyGroup>
|
||||
<GitInfoCommitCount>000000$(GitInfoCommitCount)</GitInfoCommitCount>
|
||||
<GitInfoCommitCount>$(GitInfoCommitCount.Substring($(GitInfoCommitCount.get_Length())) - 6)</GitInfoCommitCount>
|
||||
|
||||
<ShouldOverWriteThePropsFile
|
||||
Condition=" '$(CommitCount)' != '$(GitInfoCommitCount)' Or
|
||||
'$(CommitHash)' != '$(GitInfoCommitHash)' ">true</ShouldOverWriteThePropsFile>
|
||||
|
|
Loading…
Reference in a new issue