fix(release): drop broken CGO_ENABLED=0 static build target

smacker/go-tree-sitter requires CGO: the Node type is defined only in
bindings.go behind //go:build cgo, while iter.go references it without
a build tag. With CGO_ENABLED=0 every iter.go:N: undefined: Node fails
the build.

The mcp-filepuff-static target was added in 9205b2b after the last
successful release (v0.2.3) and has never produced an artifact — every
release since has been red. Dropping it restores the working release
shape: darwin_arm64 + linux_amd64 + windows_amd64 CGO binaries, same
as v0.2.3 shipped.
This commit is contained in:
2026-04-19 20:13:49 +01:00
parent 5ad975ee7a
commit 835f03f53c
-19
View File
@@ -38,25 +38,6 @@ builds:
- goos: windows
goarch: arm64
- id: mcp-filepuff-static
main: ./cmd/mcp-filepuff
binary: mcp-filepuff
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
- -extldflags=-static
goos:
- linux
goarch:
- amd64
- arm64
archives:
- id: default
formats: