openzfs: fix livecheck

This commit is contained in:
Bevan Kay 2024-04-02 22:50:11 +11:00
parent ad1885885f
commit 0199279711
No known key found for this signature in database
GPG Key ID: C55CB024B5314B57
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ cask "openzfs" do
livecheck do
url "https://openzfsonosx.org/forum/viewforum.php?f=20"
regex(/viewtopic[^"' >]*t=(\d+).*zfs[._-]macOS[._-]v?(\d+(?:(?:\.)\d+)+)/i)
regex(/viewtopic[^"' >]*t=(\d+).*zfs[._-]macOS[._-]v?(\d+(?:(?:\.)\d+)+)(?:\s*release)/i)
strategy :page_match do |page, regex|
# Find the first [stable] release topic on the News forum
post_id, version = page.scan(regex).first