rom-tools: update livecheck

master
Sam Ford 2021-08-08 19:39:30 -04:00 committed by GitHub
parent 1c4eba7b3c
commit 46d6e3fdf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 7 deletions

View File

@ -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