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>
master
Patrick Linnane 2023-01-15 21:39:28 -08:00 committed by GitHub
parent 69b716a4bb
commit 3d1b129152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

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