Increase priority of GithubLatest livecheck strategy.

This commit is contained in:
Markus Reiter 2020-12-12 21:59:52 +01:00 committed by Sam Ford
parent c24af82a25
commit 51274fb02a
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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