Skip to content
Snippets Groups Projects
Unverified Commit 51274fb0 authored by Markus Reiter's avatar Markus Reiter Committed by Sam Ford
Browse files

Increase priority of `GithubLatest` livecheck strategy.

parent c24af82a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment