Skip to content

Commit

Permalink
handle subversioning properly
Browse files Browse the repository at this point in the history
thanks bdsp
  • Loading branch information
architdate committed Dec 22, 2021
1 parent b63ca76 commit 585883f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PKHeX.Core.AutoMod/AutoMod/Util/NetUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private static Stream GetStreamFromURL(string url)
return httpWebResponse.GetResponseStream();
}

private static readonly Regex LatestGitTagRegex = new("\\\"tag_name\"\\s*\\:\\s*\\\"([0-9]+\\.[0-9]+\\.[0-9]+)\\\""); // Match `"tag_name": "18.12.02"`. Group 1 is `18.12.02`
private static readonly Regex LatestGitTagRegex = new("\\\"tag_name\"\\s*\\:\\s*\\\"([0-9]+\\.[0-9]+\\.[0-9]+)"); // Match `"tag_name": "18.12.02"`. Group 1 is `18.12.02`

/// <summary>
/// Gets the latest version of ALM according to the Github API
Expand Down

0 comments on commit 585883f

Please sign in to comment.