mirror of
https://github.com/lukaszraczylo/mcp-readitall.git
synced 2026-10-12 00:45:33 +00:00
Add a homebrew_casks block that writes the cask to lukaszraczylo/homebrew-taps. The release workflow must have the HOMEBREW_TAP_TOKEN secret.
80 lines
1.6 KiB
YAML
80 lines
1.6 KiB
YAML
version: 2
|
|
|
|
builds:
|
|
- id: readitall
|
|
main: ./cmd/readitall
|
|
binary: readitall
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s -w
|
|
|
|
archives:
|
|
- id: readitall
|
|
formats: [tar.gz]
|
|
name_template: "readitall-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
|
format_overrides:
|
|
- goos: windows
|
|
formats: [zip]
|
|
files:
|
|
- README.md
|
|
|
|
checksum:
|
|
name_template: "readitall-{{ .Version }}-checksums.txt"
|
|
algorithm: sha256
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
- '^Merge'
|
|
- '^WIP'
|
|
|
|
release:
|
|
github:
|
|
owner: lukaszraczylo
|
|
name: mcp-readitall
|
|
name_template: "Release {{.Version}}"
|
|
draft: false
|
|
prerelease: auto
|
|
|
|
homebrew_casks:
|
|
- name: readitall
|
|
repository:
|
|
owner: lukaszraczylo
|
|
name: homebrew-taps
|
|
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
|
|
directory: Casks
|
|
homepage: https://github.com/lukaszraczylo/mcp-readitall
|
|
description: "MCP server that reads web pages through a headless Chromium-family browser"
|
|
license: MIT
|
|
hooks:
|
|
post:
|
|
install: |
|
|
if OS.mac?
|
|
system_command "/usr/bin/xattr",
|
|
args: ["-dr", "com.apple.quarantine", "#{staged_path}/readitall"]
|
|
end
|
|
|
|
signs:
|
|
- cmd: cosign
|
|
signature: "${artifact}.sigstore.json"
|
|
args:
|
|
- sign-blob
|
|
- "--bundle=${signature}"
|
|
- "${artifact}"
|
|
- "--yes"
|
|
artifacts: checksum
|
|
output: true
|