macpine: rebuild
* macpine: add livecheck * macpine: update livecheck Closes #118565. Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com> Signed-off-by: Rui Chen <rui@chenrui.dev> Signed-off-by: Sam Ford <1584702+samford@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
00d8524a2a
commit
02bbcc24d0
|
@ -6,6 +6,20 @@ class Macpine < Formula
|
|||
license "Apache-2.0"
|
||||
head "https://github.com/beringresearch/macpine.git", branch: "main"
|
||||
|
||||
livecheck do
|
||||
url :stable
|
||||
regex(/^v?\.?(\d+(?:\.\d+)*)$/i)
|
||||
strategy :git do |tags, regex|
|
||||
tags.map do |tag|
|
||||
version = tag[regex, 1]
|
||||
next if version.blank?
|
||||
|
||||
# Naively convert tags like `v.01` to `0.1`
|
||||
tag.match?(/^v\.?\d+$/i) ? version.chars.join(".") : version
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
bottle do
|
||||
rebuild 1
|
||||
sha256 cellar: :any_skip_relocation, arm64_ventura: "17724ae6ba9ff82b9d55cb7d51f0fa5641fa568569c27350083c6d88dbe2dcd8"
|
||||
|
|
Loading…
Reference in New Issue