File tree Expand file tree Collapse file tree 2 files changed +33
-2
lines changed
Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 11cask "ds" do
2- version "0.18.6 "
3- sha256 "eccb3f1bcaa373a43f431201da0de29537e04041414a30158dd8e89e41e64136 "
2+ version "0.18.7 "
3+ sha256 "54585c5575e3a96f3357efa250ebf11d700cc9abdc88e39d1964726a92ff609a "
44
55 url "https://github.com/docker/dash-releases/releases/download/v#{ version } /Dash.tar.gz"
66 name "Dash by Docker"
Original file line number Diff line number Diff line change 1+ cask "ds@0.18.7" do
2+ version "0.18.7"
3+ sha256 "54585c5575e3a96f3357efa250ebf11d700cc9abdc88e39d1964726a92ff609a"
4+
5+ url "https://github.com/docker/dash-releases/releases/download/v#{ version } /Dash.tar.gz"
6+ name "Dash by Docker"
7+ desc "Build, run, and govern agents across the software development lifecycle"
8+ homepage "https://github.com/docker/dash-releases"
9+
10+ depends_on arch : :arm64 ,
11+ macos : ">= :tahoe"
12+
13+ binary "bin/ds" , target : "ds-0.18.7"
14+ bash_completion "completions/bash/ds" , target : "ds-0.18.7"
15+ fish_completion "completions/fish/ds.fish" , target : "ds-0.18.7.fish"
16+ zsh_completion "completions/zsh/_ds" , target : "_ds-0.18.7"
17+
18+ uninstall_preflight do
19+ ds_binary = "#{ caskroom_path } /#{ version } /bin/ds"
20+ next unless File . exist? ( ds_binary )
21+
22+ system_command ds_binary ,
23+ args : [ "daemon" , "stop" ] ,
24+ print_stderr : false
25+ end
26+
27+ caveats <<~EOS
28+ Since a version-specific cask was installed, the binary to use is: ds-#{ version }
29+ Note: Prompt for update will be disabled for version-specific installations.
30+ EOS
31+ end
You can’t perform that action at this time.
0 commit comments