mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
freecad: update livecheck
Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
+5
-2
@@ -11,9 +11,12 @@ cask "freecad" do
|
||||
desc "3D parametric modeler"
|
||||
homepage "https://www.freecad.org/"
|
||||
|
||||
# Upstream uses GitHub releases to indicate that a version is released
|
||||
# (there's also sometimes a notable gap between the release being created
|
||||
# and the homepage being updated), so the `GithubLatest` strategy is necessary.
|
||||
livecheck do
|
||||
url "https://www.freecad.org/downloads.php"
|
||||
regex(/FreeCAD[._-]v?(\d+(?:\.\d+)+)[._-]mac[._-]#{arch}\.dmg/i)
|
||||
url :stable
|
||||
strategy :github_latest
|
||||
end
|
||||
|
||||
depends_on macos: ">= :sierra"
|
||||
|
||||
Reference in New Issue
Block a user