21 lines
541 B
Ruby
21 lines
541 B
Ruby
cask "tidelift" do
|
|
version "1.3.0"
|
|
sha256 "8b07492e13f9955954b58b6c49e4fa72a8371d7888de89afd9a501aa651ba44f"
|
|
|
|
url "https://download.tidelift.com/cli/#{version}/darwin_homebrew/tidelift"
|
|
name "Tidelift CLI"
|
|
desc "Tool to interact with the Tidelift system"
|
|
homepage "https://tidelift.com/cli"
|
|
|
|
livecheck do
|
|
url "https://download.tidelift.com/cli/index.html"
|
|
regex(%r{href=.*?/cli/(\d+(?:\.\d+)+)/darwin/tidelift}i)
|
|
end
|
|
|
|
binary "tidelift"
|
|
|
|
postflight do
|
|
set_permissions "#{staged_path}/tidelift", "+x"
|
|
end
|
|
end
|