Add publishers for distributing CLI binaries to package managers: - npm: binary wrapper pattern with postinstall download - Homebrew: formula generation + tap auto-commit - Scoop: JSON manifest + bucket auto-commit - AUR: PKGBUILD + .SRCINFO + AUR push - Chocolatey: NuSpec + install script + optional push Each publisher supports: - Dry-run mode for previewing changes - Auto-commit to own repos (tap/bucket/AUR) - Generate files for PRs to official repos via `official` config Also includes Docker and LinuxKit build helpers. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 lines
1.1 KiB
Cheetah
30 lines
1.1 KiB
Cheetah
{
|
|
"version": "{{.Version}}",
|
|
"description": "{{.Description}}",
|
|
"homepage": "https://github.com/{{.Repository}}",
|
|
"license": "{{.License}}",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/{{.Repository}}/releases/download/v{{.Version}}/{{.BinaryName}}-windows-amd64.zip",
|
|
"hash": "{{.Checksums.WindowsAmd64}}"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/{{.Repository}}/releases/download/v{{.Version}}/{{.BinaryName}}-windows-arm64.zip",
|
|
"hash": "{{.Checksums.WindowsArm64}}"
|
|
}
|
|
},
|
|
"bin": "{{.BinaryName}}.exe",
|
|
"checkver": {
|
|
"github": "https://github.com/{{.Repository}}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/{{.Repository}}/releases/download/v$version/{{.BinaryName}}-windows-amd64.zip"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/{{.Repository}}/releases/download/v$version/{{.BinaryName}}-windows-arm64.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|