launch4j: add livecheck
Closes #91054. Signed-off-by: rui <rui@chenrui.dev> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
28c26da4bf
commit
90e7ce0c5a
|
@ -7,6 +7,14 @@ class Launch4j < Formula
|
|||
license all_of: ["BSD-3-Clause", "MIT"]
|
||||
revision 1
|
||||
|
||||
livecheck do
|
||||
url :stable
|
||||
regex(/^(?:Release_launch4j[._-])?v?(\d+(?:[._]\d+)+)$/i)
|
||||
strategy :git do |tags, regex|
|
||||
tags.map { |tag| tag[regex, 1]&.tr("_", ".") }
|
||||
end
|
||||
end
|
||||
|
||||
bottle do
|
||||
sha256 cellar: :any_skip_relocation, monterey: "10fe31dd5081fecb626537d801e678e8921c5f8d655f7daee5e6c8dd2e2ef619"
|
||||
sha256 cellar: :any_skip_relocation, big_sur: "4c6bfb289d9aeca25dbc25ff2f9fe12a49a635bf720fe54b788d4796c25bc108"
|
||||
|
|
Loading…
Reference in New Issue