mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #160542 from samford/livecheck/update-some-github_latest-checks
Update certain `GithubLatest` checks
This commit is contained in:
+3
-3
@@ -25,9 +25,9 @@ cask "far2l" do
|
||||
# This check should be updated to avoid unstable versions if/when stable
|
||||
# versions become available in the future.
|
||||
livecheck do
|
||||
url "https://github.com/elfmz/far2l/releases"
|
||||
regex(%r{href=["']?[^"' >]*?/tree/[^"' >]*?(\d+(?:\.\d+)+)(?:[._-]?(?:alpha|beta))?["' >]}i)
|
||||
strategy :page_match
|
||||
url :url
|
||||
regex(/^\D*?(\d+(?:\.\d+)+)$/i)
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
depends_on macos: ">= :el_capitan"
|
||||
|
||||
@@ -12,8 +12,8 @@ cask "ricochet-refresh" do
|
||||
homepage "https://www.ricochetrefresh.net/"
|
||||
|
||||
livecheck do
|
||||
url "https://github.com/blueprint-freespeech/ricochet-refresh/releases"
|
||||
regex(/v?(\d+(?:\.\d+)+)/i)
|
||||
url :url
|
||||
regex(/^v?(\d+(?:\.\d+)+[a-z]?)(?:[._-]release)?$/i)
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
|
||||
@@ -9,6 +9,11 @@ cask "sonic-robo-blast-2-kart" do
|
||||
desc "Classic styled kart racer, complete with beautiful courses, and wacky items"
|
||||
homepage "https://mb.srb2.org/addons/srb2kart.2435/"
|
||||
|
||||
livecheck do
|
||||
url :url
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
app "Sonic Robo Blast 2 Kart.app"
|
||||
|
||||
zap trash: "~/srb2kart"
|
||||
|
||||
@@ -10,7 +10,7 @@ cask "sonic-robo-blast-2" do
|
||||
homepage "https://www.srb2.org/"
|
||||
|
||||
livecheck do
|
||||
url "https://github.com/STJr/SRB2/releases"
|
||||
url :url
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user