From 288c47e065b4c118f8fa7c8e58f5451aedb46e59 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Thu, 7 Jan 2021 18:28:02 -0500 Subject: [PATCH] openkim-models: add livecheck --- Formula/openkim-models.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/openkim-models.rb b/Formula/openkim-models.rb index 00dc38790b21d..1b38a6e333961 100644 --- a/Formula/openkim-models.rb +++ b/Formula/openkim-models.rb @@ -5,6 +5,11 @@ class OpenkimModels < Formula sha256 "50338084ece92ec0fb13b0bbdf357b5d7450e26068ba501f23c315f814befc26" revision 1 + livecheck do + url "https://s3.openkim.org/archives/collection/" + regex(/href=.*?openkim-models[._-]v?(\d+(?:-\d+)+)\.t/i) + end + bottle do sha256 "d8eb0ffb78085bf3d5770d022378d82631e75c8975611bcd4f6b63a33f0ef74c" => :big_sur sha256 "9420d4f91176705c43778e8566407d3310924b35dc0e10c3ceaaac86dc5c3713" => :catalina