From 3d1b129152993a573655e581c0900dd94d3476dd Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Sun, 15 Jan 2023 21:39:28 -0800 Subject: [PATCH] metals: add livecheck (#120697) * metals: add livecheck * Update Formula/metals.rb Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com> Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com> --- Formula/metals.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Formula/metals.rb b/Formula/metals.rb index 6866e406ad7..4f25b312a45 100644 --- a/Formula/metals.rb +++ b/Formula/metals.rb @@ -5,6 +5,13 @@ class Metals < Formula sha256 "18bcdb08aca2a38409e4af03f1108611285c1d20b9044e5cf2ecd8efa5fc60a2" license "Apache-2.0" + # Some version tags don't become a release, so it's necessary to check the + # GitHub releases instead. + livecheck do + url :stable + strategy :github_latest + end + bottle do sha256 cellar: :any_skip_relocation, arm64_ventura: "9da7788da6c9110a23572c8684427f315ad60c8b25ef330a9a0a9c0de6312756" sha256 cellar: :any_skip_relocation, arm64_monterey: "f7c65425141c48a074d3df2784fa064a8def4563c997be1af37ab9239cdbe837"