23 lines
571 B
Ruby
23 lines
571 B
Ruby
cask "tidelift" do
|
|
version "1.13.26"
|
|
sha256 "2fe2afdf3e72001847cf681c938ca544f6d3185c75011fb5117ff4a35e953e2c"
|
|
|
|
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
|