diff --git a/Formula/mcpctl.rb b/Formula/mcpctl.rb index 48a45cf..72b8a57 100644 --- a/Formula/mcpctl.rb +++ b/Formula/mcpctl.rb @@ -1,11 +1,10 @@ +# mcpctl Homebrew formula. Self-contained bun-compiled binary (linux x86_64); runtime dep: jq. class Mcpctl < Formula desc "kubectl-like CLI for managing MCP servers" homepage "https://mysources.co.uk/michal/mcpctl" version "0.0.1.20261009" license "MIT" - # Self-contained bun-compiled binary; the only runtime dependency is jq. - # Linux x86_64 only (that is the compiled target); other platforms are not published. depends_on "jq" depends_on :linux @@ -24,6 +23,7 @@ class Mcpctl < Formula end test do - assert_match "0.0.1.20261009", shell_output("#{bin}/mcpctl --version") + # the binary reports the project version ("0.0.1"), not the datestamped brew version + assert_match "0.0.1", shell_output("#{bin}/mcpctl --version") end end \ No newline at end of file