Fix build on Windows

This commit is contained in:
Ske 2021-12-23 21:22:38 -05:00 committed by spiral
parent 985043cca5
commit 2aa258acf4
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -54,7 +54,7 @@
</ItemGroup>
<Target Name="SetSourceRevisionId" BeforeTargets="InitializeSourceControlInformation">
<Exec Command="git log -1 --format='%H' &gt; ../.version" IgnoreExitCode="False">
<Exec Command="git rev-parse HEAD > ../.version" IgnoreExitCode="False">
</Exec>
</Target>