Skip to content

Commit

Permalink
rcs dont have dots apparently
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee committed Jul 21, 2024
1 parent c418cf6 commit c3e6f48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions YAMS-LIB/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
}
Expand Down

0 comments on commit c3e6f48

Please sign in to comment.