Force string comparison
This commit is contained in:
parent
97e3767bd7
commit
eaa5049859
1 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
<GitInfoCommitCount>$(GitInfoCommitCount.PadLeft(6,'0'))</GitInfoCommitCount>
|
||||
|
||||
<ShouldOverWriteThePropsFile
|
||||
Condition=" '$(CommitCount)' != '$(GitInfoCommitCount)' Or
|
||||
Condition=" 'ForceStringComparison$(CommitCount)' != 'ForceStringComparison$(GitInfoCommitCount)' Or
|
||||
'$(CommitHash)' != '$(GitInfoCommitHash)' ">true</ShouldOverWriteThePropsFile>
|
||||
|
||||
<GitCommitInfoPropsContent>
|
||||
|
@ -26,10 +26,11 @@
|
|||
</Project>
|
||||
</GitCommitInfoPropsContent>
|
||||
</PropertyGroup>
|
||||
<Error Text="PIOTR"/>
|
||||
|
||||
<WriteLinesToFile File="$(GitCommitInfoProps)"
|
||||
Lines="$(GitCommitInfoPropsContent)"
|
||||
Condition=" '$(ShouldOverwriteThePropsFile)' == 'true' "
|
||||
Overwrite="true" />
|
||||
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
Loading…
Add table
Reference in a new issue