fix(release): use brews instead of homebrew_casks for CLI formula

homebrew_casks is for macOS .app bundles; brews is the correct
GoReleaser v2 key for CLI binaries. Also read Go version from go.mod
instead of hardcoding it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
yushen 2026-03-25 17:26:34 +08:00
parent 872d2d10bd
commit 4c4f6c4a60
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.26"
go-version-file: server/go.mod
cache-dependency-path: server/go.sum
- name: Run GoReleaser

View file

@ -41,10 +41,8 @@ changelog:
- "^test:"
- "^chore:"
homebrew_casks:
brews:
- name: multica-cli
binaries:
- multica-cli
repository:
owner: multica-ai
name: homebrew-tap
@ -53,3 +51,5 @@ homebrew_casks:
directory: Formula
homepage: "https://github.com/multica-ai/super-multica"
description: "Multica CLI — local agent runtime and management tool for the Multica platform"
install: |
bin.install "multica-cli"