From 2ada207cd72a06d18b6af0e208f4ef87cf2b7050 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 18 Mar 2026 13:16:54 +0000 Subject: [PATCH] chore(cask): update ds to v0.18.7 --- Casks/ds.rb | 4 ++-- Casks/ds@0.18.7.rb | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 Casks/ds@0.18.7.rb diff --git a/Casks/ds.rb b/Casks/ds.rb index 4fe3627..eb21ecd 100644 --- a/Casks/ds.rb +++ b/Casks/ds.rb @@ -1,6 +1,6 @@ cask "ds" do - version "0.18.6" - sha256 "eccb3f1bcaa373a43f431201da0de29537e04041414a30158dd8e89e41e64136" + version "0.18.7" + sha256 "54585c5575e3a96f3357efa250ebf11d700cc9abdc88e39d1964726a92ff609a" url "https://github.com/docker/dash-releases/releases/download/v#{version}/Dash.tar.gz" name "Dash by Docker" diff --git a/Casks/ds@0.18.7.rb b/Casks/ds@0.18.7.rb new file mode 100644 index 0000000..d9c2dac --- /dev/null +++ b/Casks/ds@0.18.7.rb @@ -0,0 +1,31 @@ +cask "ds@0.18.7" do + version "0.18.7" + sha256 "54585c5575e3a96f3357efa250ebf11d700cc9abdc88e39d1964726a92ff609a" + + url "https://github.com/docker/dash-releases/releases/download/v#{version}/Dash.tar.gz" + name "Dash by Docker" + desc "Build, run, and govern agents across the software development lifecycle" + homepage "https://github.com/docker/dash-releases" + + depends_on arch: :arm64, + macos: ">= :tahoe" + + binary "bin/ds", target: "ds-0.18.7" + bash_completion "completions/bash/ds", target: "ds-0.18.7" + fish_completion "completions/fish/ds.fish", target: "ds-0.18.7.fish" + zsh_completion "completions/zsh/_ds", target: "_ds-0.18.7" + + uninstall_preflight do + ds_binary = "#{caskroom_path}/#{version}/bin/ds" + next unless File.exist?(ds_binary) + + system_command ds_binary, + args: ["daemon", "stop"], + print_stderr: false + end + + caveats <<~EOS + Since a version-specific cask was installed, the binary to use is: ds-#{version} + Note: Prompt for update will be disabled for version-specific installations. + EOS +end