crabbox/.goreleaser.yaml
2026-05-05 02:28:07 -07:00

59 lines
1.2 KiB
YAML

version: 2
project_name: crabbox
changelog:
disable: true
builds:
- id: crabbox
main: ./cmd/crabbox
binary: crabbox
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/openclaw/crabbox/internal/cli.version={{ .Version }}
targets:
- darwin_amd64
- darwin_arm64
- linux_amd64
- linux_arm64
- windows_amd64
- windows_arm64
archives:
- id: crabbox
ids:
- crabbox
formats:
- tar.gz
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
formats:
- zip
checksum:
name_template: checksums.txt
brews:
- name: crabbox
ids:
- crabbox
repository:
owner: openclaw
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
directory: Formula
commit_author:
name: openclaw-bot
email: bot@openclaw.ai
commit_msg_template: "brew: update crabbox to {{ .Tag }}"
homepage: https://github.com/openclaw/crabbox
description: Remote Linux test boxes for dirty worktrees and CI hydration
license: MIT
install: |
bin.install "crabbox"
test: |
system bin/"crabbox", "--version"