rom-tools: update livecheck
parent
1c4eba7b3c
commit
46d6e3fdf6
|
@ -8,14 +8,8 @@ class RomTools < Formula
|
|||
license "GPL-2.0-or-later"
|
||||
head "https://github.com/mamedev/mame.git"
|
||||
|
||||
# MAME tags (and filenames) are formatted like `mame0226`, so livecheck will
|
||||
# report the version like `0226`. We work around this by matching the link
|
||||
# text for the release title, since it contains the properly formatted version
|
||||
# (e.g., 0.226).
|
||||
livecheck do
|
||||
url :stable
|
||||
strategy :github_latest
|
||||
regex(%r{release-header.*?/releases/tag/mame[._-]?\d+(?:\.\d+)*["' >]>MAME v?(\d+(?:\.\d+)+)}im)
|
||||
formula "mame"
|
||||
end
|
||||
|
||||
bottle do
|
||||
|
|
Loading…
Reference in New Issue