From 2e7f8598a4b7b816fd9b3184da19dfbea4d14344 Mon Sep 17 00:00:00 2001 From: michal Date: Mon, 12 Oct 2026 14:19:38 +0000 Subject: [PATCH] fix: test asserts 0.0.1 (binary version), not datestamped brew version --- Formula/mcpctl.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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