fix: properly get long commit hash from git
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="SetSourceRevisionId" BeforeTargets="InitializeSourceControlInformation">
|
||||
<Exec Command="git describe --long --always --dirty --exclude=* > ../.version" IgnoreExitCode="False">
|
||||
<Exec Command="git log -1 --format='%H' > ../.version" IgnoreExitCode="False">
|
||||
</Exec>
|
||||
</Target>
|
||||
|
||||
|
Reference in New Issue
Block a user