livecheck: allow query parameter in electron_builder strategy url

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
This commit is contained in:
Bevan Kay 2021-07-28 11:47:54 +10:00
parent 89b8619153
commit c28db0424d
No known key found for this signature in database
GPG Key ID: 479C98436A4773B9

View File

@ -19,7 +19,7 @@ module Homebrew
PRIORITY = 0
# The `Regexp` used to determine if the strategy applies to the URL.
URL_MATCH_REGEX = %r{^https?://.+/.+\.ya?ml$}i.freeze
URL_MATCH_REGEX = %r{^https?://.+/[^/]+\.ya?ml(?:\?[^/?]+)?$}i.freeze
# Whether the strategy can be applied to the provided URL.
#