homebrew-cask/Casks/sentinel.rb

17 lines
515 B
Ruby

cask "sentinel" do
version "0.18.4"
sha256 "7ce71e5850e46e71814ba92d0ae6596bb0b89d184b7b8a59e9921e0d4d4bd72f"
url "https://releases.hashicorp.com/sentinel/#{version}/sentinel_#{version}_darwin_amd64.zip"
name "Sentinel"
desc "Language and framework for policy as code"
homepage "https://docs.hashicorp.com/sentinel"
livecheck do
url "https://docs.hashicorp.com/sentinel/downloads"
regex(%r{href=.*?/sentinel[._-]?v?(\d+(?:\.\d+)+)[._-]darwin[._-]amd64\.zip}i)
end
binary "sentinel"
end