sfdx: mark discontinued

This commit is contained in:
Justin Krehel
2023-09-27 18:30:20 -04:00
parent da63f4f709
commit efc6691513
2 changed files with 12 additions and 9 deletions

View File

@@ -84,7 +84,7 @@ env:
rewind
rive
setapp
sfdx
sf
shapr3d
sigmaos
signal

View File

@@ -1,7 +1,7 @@
cask "sfdx" do
arch arm: "arm64", intel: "x64"
version "58.0"
version "7.209.6"
sha256 :no_check
url "https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-#{arch}.pkg"
@@ -9,12 +9,6 @@ cask "sfdx" do
desc "SalesForce CLI tools"
homepage "https://developer.salesforce.com/tools/sfdxcli"
livecheck do
url "https://github.com/forcedotcom/cli/blob/main/releasenotes/sfdx/README.md"
regex(/(\d+(?:\.\d+)+).*?[stable]\]/i)
strategy :page_match
end
pkg "sfdx-#{arch}.pkg"
uninstall pkgutil: [
@@ -27,6 +21,15 @@ cask "sfdx" do
"~/.cache/sfdx",
"~/.config/sfdx",
"~/.local/share/sfdx",
"~/.sf",
]
caveats do
discontinued
<<~EOS
`sf` is the official successor to this software
brew install --cask sf
EOS
end
end