2 version "0.24.2,20250113214913,gh-44"
3 sha256 "19f04effe19441d88585938a523f9d08d7e69634faccc9b3fe38dc108e66ec93"
5 url "https://omnibus-aptible-toolbelt.s3.amazonaws.com/aptible/omnibus-aptible-toolbelt/master/#{version.csv.third}/pkg/aptible-toolbelt-#{version.csv.first}%2B#{version.csv.second}-mac-os-x.10.15.7-1.pkg",
6 verified: "omnibus-aptible-toolbelt.s3.amazonaws.com/"
7 name "Aptible Toolbelt"
8 desc "Command-line tool for Aptible Deploy, an audit-ready App Deployment Platform"
9 homepage "https://www.aptible.com/docs/reference/aptible-cli/overview"
13 regex(%r{href=.*?/((?:gh-)?\d+)/pkg/aptible-toolbelt[._-]v?(\d+(?:\.\d+)+)%2B(\d+)[._-]mac}i)
14 strategy :page_match do |page, regex|
15 page.scan(regex).map { |match| "#{match[1]},#{match[2]},#{match[0]}" }
19 depends_on formula: "libfido2"
21 pkg "aptible-toolbelt-#{version.csv.first}+#{version.csv.second}-mac-os-x.10.15.7-1.pkg"
23 uninstall pkgutil: "com.aptible.toolbelt"
25 zap trash: "/usr/local/bin/aptible"