Skip to content

Commit

Permalink
snow: add livecheck
Browse files Browse the repository at this point in the history
livecheck is unable to identify versions for `snow` by default. This
adds a `livecheck` block that checks the homepage, which links to the
`stable` tarball.
  • Loading branch information
samford committed Jul 28, 2024
1 parent 5bbcc25 commit f12e57a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Formula/s/snow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ class Snow < Formula
sha256 "c0b71aa74ed628d121f81b1cd4ae07c2842c41cfbdf639b50291fc527c213865"
license "Apache-2.0"

livecheck do
url :homepage
regex(/href=.*?snow[._-]v?(\d+(?:\.\d+)*)\.t/i)
end

bottle do
rebuild 2
sha256 cellar: :any_skip_relocation, arm64_sonoma: "bc3cd801f7bd8ab8d936d3ce543de987c9d4536bebfb2c8d67900c6cb866eb47"
Expand Down

0 comments on commit f12e57a

Please sign in to comment.