21 lines
541 B
Ruby
21 lines
541 B
Ruby
cask "tidelift" do
|
|
version "1.5.1"
|
|
sha256 "3d80bb91f6588bf020cb0a09fdc07ee53200c3bfe8a4f24891b64959edc822af"
|
|
|
|
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
|