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
Rui Chen 2022-12-19 23:14:16 -05:00 committed by BrewTestBot
parent 00d8524a2a
commit 02bbcc24d0
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 14 additions and 0 deletions

View File

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