4 Commits

Author SHA1 Message Date
ethan zhou
7522c763fe Merge remote-tracking branch 'revyl/feat/goreleaser' into integration/merge-all 2026-06-26 18:34:28 -07:00
ethan zhou
903e0393d5 Add GoReleaser release pipeline + Homebrew tap automation
Tags `vX.Y.Z` now build cross-platform binaries (macOS + Linux, amd64 + arm64),
publish a GitHub release with checksums, and update the Homebrew tap formula --
making the documented `brew install revylai/tap/greenlight` actually work, with
version injected into `greenlight version`.

- .goreleaser.yml: builds with -X main.version, archives, checksums, and a
  homebrew_casks block targeting RevylAI/homebrew-tap. `goreleaser check` clean.
- .github/workflows/release.yml: runs goreleaser on tag push.
- RELEASING.md: one-time setup (create the tap repo, add a HOMEBREW_TAP_TOKEN
  secret) and how to cut a release.
- gitignore dist/.

Activation needs two manual steps (see RELEASING.md): create RevylAI/homebrew-tap
and set the HOMEBREW_TAP_TOKEN secret. No code changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 17:47:47 -07:00
ethan zhou
b0290fcd7b CI: gofmt gate, race detector, macOS matrix
- New `format` job fails if anything is not gofmt-formatted (the repo is clean
  now, so this stays green and prevents drift).
- Test step runs with -race.
- build/vet/test run on ubuntu and macos (IPA/plist parsing is platform-relevant).

golangci-lint is intentionally left out for now: it is not verifiable locally
here, and the never-linted code would likely make CI red. Tracked as a
follow-up (wire the existing Makefile `lint` target once a .golangci.yml
baseline exists).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 13:40:53 -07:00
Landseer100
fc68ef1ce3 Initial release: standalone greenlight CLI
Pre-submission compliance scanner for the Apple App Store.

Fixes:
- Implement antiPatternsGlobal two-pass scanning (rules like missing-att,
  social-login-no-apple now correctly check anti-patterns across all project
  files instead of only the current file)
- Remove dead printFooter() in scan.go (handled by report.go)
- Remove no-op checkAppIconExists() (icon checks handled by app.json parser)
- Fix all go vet warnings (redundant newlines in Println calls)

Adds MIT license, CI workflow, and updated .gitignore.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 14:54:57 -08:00