23 lines
571 B
Ruby
23 lines
571 B
Ruby
cask "tidelift" do
|
|
version "1.13.11"
|
|
sha256 "89b5205715486e2722b095a0c05f5572e8111cff946470705b6f076ae7cfe0b7"
|
|
|
|
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
|
|
|
|
# No zap stanza required
|
|
end
|