gauche: update livecheck
Closes #111608. Signed-off-by: Rui Chen <rui@chenrui.dev> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
14c5822b1b
commit
b7f2ad98a1
|
@ -8,8 +8,10 @@ class Gauche < Formula
|
|||
|
||||
livecheck do
|
||||
url :stable
|
||||
strategy :github_latest
|
||||
regex(/href=.*?Gauche[._-]v?(\d+(?:\.\d+)+(?:[._-]p\d+)?)\.t/i)
|
||||
regex(%r{href=["']?[^"' >]*?/tag/\D*?(\d+(?:[._]\d+)+(?:[._-]?p\d+)?)["' >]}i)
|
||||
strategy :github_latest do |page, regex|
|
||||
page.scan(regex).map { |match| match[0].tr("_", ".") }
|
||||
end
|
||||
end
|
||||
|
||||
bottle do
|
||||
|
|
Loading…
Reference in New Issue