mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
semeru-jdk-open: use url :url instead of url :stable for livecheck
This commit is contained in:
@@ -12,7 +12,7 @@ cask "semeru-jdk-open" do
|
||||
homepage "https://developer.ibm.com/languages/java/semeru-runtimes"
|
||||
|
||||
livecheck do
|
||||
url :stable
|
||||
url :url
|
||||
regex(/^jdk[._-](\d+(?:[.+]\d+)*)[._-](.+?)$/i)
|
||||
strategy :github_latest do |json, regex|
|
||||
json["tag_name"]&.scan(regex)&.map { |match| "#{match[0]},#{match[1]}" }
|
||||
|
||||
Reference in New Issue
Block a user