Add back 000000 padding to commit count

This commit is contained in:
Unknown 2017-03-07 10:49:28 -08:00
parent ea15463bd5
commit 06ab197be5

View file

@ -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>