mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix: properly get long commit hash from git
This commit is contained in:
parent
b273b49533
commit
2a7d4ff97d
2 changed files with 1 additions and 5 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue