From 42f1acdb1d7e8f04552f6653ca75e4ab65d45257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Thu, 7 Sep 2023 12:21:20 +0200 Subject: [PATCH] Fix getting version for native code (#2927) --- build/VersionHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/VersionHelper.cs b/build/VersionHelper.cs index f0ff4eba09..119b32072c 100644 --- a/build/VersionHelper.cs +++ b/build/VersionHelper.cs @@ -17,7 +17,7 @@ public static string GetCommitId() public static string GetVersionWithoutSuffixes() { - return Version.Value.Split('-')[0]; + return Version.Value.Split('-', '+')[0]; } public static (string Major, string Minor, string Patch) GetVersionParts()