From 0002dee805f90d6db462546b5a62fc0c809b2387 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Sat, 7 Aug 2021 11:51:43 -0400 Subject: [PATCH] file-formula: add livecheck --- Formula/file-formula.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/file-formula.rb b/Formula/file-formula.rb index 8016d8c9eab..7fbba75b7d1 100644 --- a/Formula/file-formula.rb +++ b/Formula/file-formula.rb @@ -8,6 +8,11 @@ class FileFormula < Formula license :cannot_represent head "https://github.com/file/file.git" + livecheck do + url "https://astron.com/pub/file/" + regex(/href=.*?file[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + bottle do sha256 cellar: :any, arm64_big_sur: "707df034d66e4a7e448fd1849f266634d5095f0605a8c7354bf5f0cf4fc5a45f" sha256 cellar: :any, big_sur: "90936b82c5dae98ee47784aea42bb8c085febf2bdc860c5c5d8d553d6b958201"