Fix getting version for native code (#2927)

This commit is contained in:
Piotr Kiełkowicz 2023-09-07 12:21:20 +02:00 committed by GitHub
parent 652db2a450
commit 42f1acdb1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public static class VersionHelper
public static string GetVersionWithoutSuffixes()
{
return Version.Value.Split('-')[0];
return Version.Value.Split('-', '+')[0];
}
public static (string Major, string Minor, string Patch) GetVersionParts()