Increase priority of GithubLatest livecheck strategy.
This commit is contained in:
parent
c24af82a25
commit
51274fb02a
@ -26,7 +26,7 @@ module Homebrew
|
||||
class Git
|
||||
# The priority of the strategy on an informal scale of 1 to 10 (from
|
||||
# lowest to highest).
|
||||
PRIORITY = 8
|
||||
PRIORITY = 7
|
||||
|
||||
# Fetches a remote Git repository's tags using `git ls-remote --tags`
|
||||
# and parses the command's output. If a regex is provided, it will be
|
||||
|
||||
@ -37,7 +37,7 @@ module Homebrew
|
||||
# A priority of zero causes livecheck to skip the strategy. We do this
|
||||
# for {GithubLatest} so we can selectively apply the strategy using
|
||||
# `strategy :github_latest` in a `livecheck` block.
|
||||
PRIORITY = 0
|
||||
PRIORITY = 8
|
||||
|
||||
# The `Regexp` used to determine if the strategy applies to the URL.
|
||||
URL_MATCH_REGEX = %r{//github\.com(?:/downloads)?(?:/[^/]+){2}}i.freeze
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user