diff --git a/YAMS-LIB/Program.cs b/YAMS-LIB/Program.cs index ddcd9a3..ab7c66b 100644 --- a/YAMS-LIB/Program.cs +++ b/YAMS-LIB/Program.cs @@ -36,6 +36,8 @@ private static string CreateVersionString() if (build.Contains('+')) build = build[..build.IndexOf('+')]; build = build.Replace('-', '.'); + if (build[1..].StartsWith("rc")) + build = build[1..]; return $"{major}.{minor}.{build}"; }