From 2a7d4ff97daffef9ef35a6ae2e9c286c60ee4cea Mon Sep 17 00:00:00 2001 From: spiral Date: Mon, 8 Nov 2021 10:48:45 -0500 Subject: [PATCH] fix: properly get long commit hash from git --- PluralKit.Core/PluralKit.Core.csproj | 2 +- PluralKit.Core/Services/BuildInfoService.cs | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/PluralKit.Core/PluralKit.Core.csproj b/PluralKit.Core/PluralKit.Core.csproj index 1ff7c389..a205d632 100644 --- a/PluralKit.Core/PluralKit.Core.csproj +++ b/PluralKit.Core/PluralKit.Core.csproj @@ -52,7 +52,7 @@ - + diff --git a/PluralKit.Core/Services/BuildInfoService.cs b/PluralKit.Core/Services/BuildInfoService.cs index 1d0a8fef..ecb07e13 100644 --- a/PluralKit.Core/Services/BuildInfoService.cs +++ b/PluralKit.Core/Services/BuildInfoService.cs @@ -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"; } } } \ No newline at end of file