file-formula: add livecheck

master
Sam Ford 2021-08-07 11:51:43 -04:00
parent 0603ffb3a1
commit 0002dee805
1 changed files with 5 additions and 0 deletions

View File

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