outline-manager: update livecheck

This commit is contained in:
Sam Ford 2024-02-15 20:51:20 -05:00
parent c36cb53df7
commit 32efde9550
No known key found for this signature in database
GPG Key ID: 7AF5CBEE1DD6F76D
1 changed files with 5 additions and 2 deletions

View File

@ -8,10 +8,13 @@ cask "outline-manager" do
desc "Tool to create and manage Outline servers, powered by Shadowsocks"
homepage "https://www.getoutline.org/"
# The GitHub repository contains tag/releases for other software and the
# "latest" release may not be for Outline Manager, so we have to check
# multiple releases to identify the latest version.
livecheck do
url :url
regex(/(?:manager[._-])?v?(\d+(?:\.\d+)+)/i)
strategy :github_latest
regex(%r{^(?:manager(?:[._-]macos)?[/._-])?v?(\d+(?:\.\d+)+)$}i)
strategy :github_releases
end
app "Outline Manager.app"