Skip to content

Commit 42f1acd

Browse files
authored
Fix getting version for native code (#2927)
1 parent 652db2a commit 42f1acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/VersionHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static string GetCommitId()
1717

1818
public static string GetVersionWithoutSuffixes()
1919
{
20-
return Version.Value.Split('-')[0];
20+
return Version.Value.Split('-', '+')[0];
2121
}
2222

2323
public static (string Major, string Minor, string Patch) GetVersionParts()

0 commit comments

Comments
 (0)