mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 05:47:53 +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
|
|
@ -22,10 +22,6 @@ namespace PluralKit.Core
|
|||
|
||||
// show only short commit hash to users
|
||||
Version = FullVersion.Remove(7);
|
||||
|
||||
// fix "dirty" git message
|
||||
if (FullVersion.EndsWith("-dirty"))
|
||||
Version += "-dirty";
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue