Skip to content

Commit 1098701

Browse files
authored
fix(homebrew): one-line install in docs + guard tap job against pre-release tags (#486)
- AUTOUPDATE.md: replace the broken `smart-mcp-proxy/tap/mcpproxy` path (resolves to a nonexistent homebrew-tap repo) with the fully-qualified `smart-mcp-proxy/mcpproxy/mcpproxy`, which auto-taps so no separate `brew tap` step is needed. Add the --cask line for the tray app. - release.yml: add `!contains(github.ref_name, '-')` + repo guard to the update-homebrew job, matching publish-linux-repos, so an RC/beta tag can no longer overwrite the stable formula/cask in the tap.
1 parent 1356c60 commit 1098701

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,9 @@ jobs:
12561256
needs: release
12571257
runs-on: ubuntu-latest
12581258
environment: production
1259-
if: startsWith(github.ref, 'refs/tags/v')
1259+
# Stable channel only: skip pre-release tags (v*-rc1, v*-beta, etc.) so an
1260+
# RC tag never overwrites the stable formula/cask in the tap.
1261+
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-') && github.repository == 'smart-mcp-proxy/mcpproxy-go'
12601262

12611263
steps:
12621264
- name: Checkout tap repository

AUTOUPDATE.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@ echo 'export MCPPROXY_ALLOW_PRERELEASE_UPDATES=true' >> ~/.zshrc
6464
Auto-update is **automatically disabled** when installed via Homebrew to prevent conflicts:
6565

6666
```bash
67-
# Homebrew installation - auto-update disabled automatically
68-
brew install smart-mcp-proxy/tap/mcpproxy
67+
# Homebrew installation - auto-update disabled automatically.
68+
# The fully-qualified name auto-taps smart-mcp-proxy/mcpproxy, so no
69+
# separate `brew tap` step is needed.
70+
brew install smart-mcp-proxy/mcpproxy/mcpproxy # CLI
71+
brew install --cask smart-mcp-proxy/mcpproxy/mcpproxy # tray app
6972

7073
# Use Homebrew for updates
7174
brew upgrade mcpproxy
@@ -93,7 +96,7 @@ The system detects common package manager paths and disables auto-update accordi
9396
### File Format Support
9497

9598
- **Windows**: `.zip` archives
96-
- **macOS**: `.tar.gz` archives
99+
- **macOS**: `.tar.gz` archives
97100
- **Linux**: `.tar.gz` archives
98101

99102
### Asset Detection Priority
@@ -125,7 +128,7 @@ mcpproxy
125128
├── Status: Running (localhost:8080)
126129
├── ─────────────────────────────
127130
├── Start/Stop Server
128-
├── ─────────────────────────────
131+
├── ─────────────────────────────
129132
├── Check for Updates... ← Manual update check
130133
│ ├── Auto-update: Enabled ← Shows current mode
131134
│ └── [Disabled for Homebrew] ← If package manager detected
@@ -207,4 +210,4 @@ Each release includes:
207210
- `mcpproxy-latest-linux-amd64.tar.gz` (latest)
208211
- Similar files for all supported platforms
209212

210-
The auto-updater prioritizes "latest" assets for consistency with website download links.
213+
The auto-updater prioritizes "latest" assets for consistency with website download links.

0 commit comments

Comments
 (0)