Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
51274fb0
Unverified
Commit
51274fb0
authored
4 years ago
by
Markus Reiter
Committed by
Sam Ford
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Increase priority of `GithubLatest` livecheck strategy.
parent
c24af82a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Library/Homebrew/livecheck/strategy/git.rb
+1
-1
1 addition, 1 deletion
Library/Homebrew/livecheck/strategy/git.rb
Library/Homebrew/livecheck/strategy/github_latest.rb
+1
-1
1 addition, 1 deletion
Library/Homebrew/livecheck/strategy/github_latest.rb
with
2 additions
and
2 deletions
Library/Homebrew/livecheck/strategy/git.rb
+
1
−
1
View file @
51274fb0
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/livecheck/strategy/github_latest.rb
+
1
−
1
View file @
51274fb0
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment