Skip to content

Commit d212729

Browse files
authored
Merge pull request Homebrew#182449 from Homebrew/cling-livecheck-2
cling: add livecheck
2 parents b218108 + 012ec77 commit d212729

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Formula/c/cling.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ class Cling < Formula
88
{ "Apache-2.0" => { with: "LLVM-exception" } }, # llvm
99
]
1010

11+
# There can be a notable gap between when a version is tagged and a
12+
# corresponding release is created, so we check the "latest" release instead
13+
# of the Git tags.
14+
livecheck do
15+
url :stable
16+
strategy :github_latest
17+
end
18+
1119
bottle do
1220
sha256 arm64_sonoma: "5ea8c62c558034d2b35e8a07bcf60f77cad73dd55c470ef7060e53dc3bdfe758"
1321
sha256 arm64_ventura: "1e4a68506aa987b22e1dc4bf79dc6029ab256d67d1eb2156b1096301c8374ff8"

0 commit comments

Comments
 (0)