From 51274fb02a4fe30275652f3474016723e75fe26f Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 12 Dec 2020 21:59:52 +0100 Subject: [PATCH] Increase priority of `GithubLatest` livecheck strategy. --- Library/Homebrew/livecheck/strategy/git.rb | 2 +- Library/Homebrew/livecheck/strategy/github_latest.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/livecheck/strategy/git.rb b/Library/Homebrew/livecheck/strategy/git.rb index 4cd216bf58..94a42fdab7 100644 --- a/Library/Homebrew/livecheck/strategy/git.rb +++ b/Library/Homebrew/livecheck/strategy/git.rb @@ -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 diff --git a/Library/Homebrew/livecheck/strategy/github_latest.rb b/Library/Homebrew/livecheck/strategy/github_latest.rb index d3afcddbf4..4868ead895 100644 --- a/Library/Homebrew/livecheck/strategy/github_latest.rb +++ b/Library/Homebrew/livecheck/strategy/github_latest.rb @@ -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