Merge pull request #11785 from bevanjkay/livecheck-electronbuilder-allowquery

livecheck: allow query parameter in electron_builder strategy url
This commit is contained in:
Sam Ford 2021-07-28 23:08:45 -04:00 committed by GitHub
commit 689c1fdb6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ module Homebrew
PRIORITY = 0 PRIORITY = 0
# The `Regexp` used to determine if the strategy applies to the URL. # 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. # Whether the strategy can be applied to the provided URL.
# #