mirror of
https://github.com/lukaszraczylo/filepuff-mcp.git
synced 2026-06-05 22:23:50 +00:00
ad696a51d8
Intel Macs are no longer receiving macOS updates. Drop from release matrix and re-add to goreleaser ignore list. install.sh now prints a clear message pointing Intel users to build-from-source. README manual-install section no longer advertises a darwin_amd64 URL.
126 lines
2.5 KiB
YAML
126 lines
2.5 KiB
YAML
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
|
|
|
version: 2
|
|
|
|
project_name: mcp-filepuff
|
|
|
|
# Split mode by full target (goos+goarch). Each matrix runner only builds the
|
|
# artifact matching its own architecture, avoiding CGO cross-compile failures
|
|
# (ARM asm on x86 runners and vice versa).
|
|
partial:
|
|
by: target
|
|
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
- go generate ./...
|
|
|
|
builds:
|
|
- id: mcp-filepuff-cgo
|
|
main: ./cmd/mcp-filepuff
|
|
binary: mcp-filepuff
|
|
env:
|
|
- CGO_ENABLED=1
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s -w
|
|
- -X main.version={{.Version}}
|
|
- -X main.commit={{.Commit}}
|
|
- -X main.date={{.Date}}
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: amd64
|
|
- goos: windows
|
|
goarch: arm64
|
|
|
|
archives:
|
|
- id: default
|
|
# Ship raw binaries — downloaders curl the asset and run it directly
|
|
# (Windows gets .exe appended automatically). No tarball indirection.
|
|
formats:
|
|
- binary
|
|
name_template: >-
|
|
{{ .ProjectName }}_
|
|
{{- .Version }}_
|
|
{{- .Os }}_
|
|
{{- .Arch }}
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
version_template: "{{ incpatch .Version }}-next"
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
- '^chore:'
|
|
- Merge pull request
|
|
- Merge branch
|
|
|
|
release:
|
|
github:
|
|
owner: lukaszraczylo
|
|
name: filepuff-mcp
|
|
draft: false
|
|
prerelease: auto
|
|
name_template: "v{{.Version}}"
|
|
header: |
|
|
## MCP Filepuff v{{.Version}}
|
|
|
|
AST-aware file operations and LSP integration for Claude Code.
|
|
|
|
### Installation
|
|
|
|
```bash
|
|
curl -sSL https://raw.githubusercontent.com/lukaszraczylo/filepuff-mcp/main/scripts/install.sh | bash
|
|
```
|
|
|
|
|
|
dockers:
|
|
- image_templates:
|
|
- "ghcr.io/lukaszraczylo/filepuff-mcp:{{ .Tag }}"
|
|
- "ghcr.io/lukaszraczylo/filepuff-mcp:latest"
|
|
ids:
|
|
- mcp-filepuff-cgo
|
|
use: buildx
|
|
build_flag_templates:
|
|
- "--platform=linux/amd64"
|
|
goarch: amd64
|
|
goos: linux
|
|
dockerfile: Dockerfile
|
|
|
|
signs:
|
|
- cmd: cosign
|
|
signature: "${artifact}.sigstore.json"
|
|
args:
|
|
- sign-blob
|
|
- "--bundle=${signature}"
|
|
- "${artifact}"
|
|
- "--yes"
|
|
artifacts: checksum
|
|
output: true
|
|
|
|
docker_signs:
|
|
- cmd: cosign
|
|
artifacts: manifests
|
|
output: true
|
|
args:
|
|
- "sign"
|
|
- "--yes"
|
|
- "${artifact}"
|
|
|
|
|