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()