Skip to content

Commit

Permalink
Fix getting version for native code (#2927)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek authored Sep 7, 2023
1 parent 652db2a commit 42f1acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/VersionHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 42f1acd

Please sign in to comment.