Skip to content

Commit

Permalink
sf-symbols: add autoupdate (#114217)
Browse files Browse the repository at this point in the history
* sf-symbols: add autoupdate

* Update sf-symbols.rb

Co-authored-by: Miccal Matthews <[email protected]>
  • Loading branch information
muneebmahmed and miccal authored Nov 12, 2021
1 parent 9aa8708 commit b116ccb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Casks/sf-symbols.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
livecheck do
url "https://developer.apple.com/sf-symbols/"
strategy :page_match
regex(%r{href=.*?/SF-Symbols-(\d+(?:\.\d+)*)\.dmg}i)
regex(%r{href=.*?/SF-Symbols-(\d+(?:\.\d+)+)\.dmg}i)
end

auto_updates true
depends_on macos: ">= :mojave"

pkg "SF Symbols.pkg"
Expand Down

1 comment on commit b116ccb

@RedenticDev
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, this change prevents the detection of the new SF Symbols 4 version, why did you change that?
(I may miss something, I don't know Ruby nor all Homebrew mechanisms)

Please sign in to comment.