From b4776af38cc96271adf9c8df21566d411a6ff2ec Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 21 Jan 2026 23:27:40 +0000 Subject: [PATCH] docs: clarify mac packaging guidance --- AGENTS.md | 1 + docs/platforms/mac/release.md | 1 + 2 files changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 1b1a5b209..285630310 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -29,6 +29,7 @@ - Prefer Bun for TypeScript execution (scripts, dev, tests): `bun ` / `bunx `. - Run CLI in dev: `pnpm clawdbot ...` (bun) or `pnpm dev`. - Node remains supported for running built output (`dist/*`) and production installs. +- Mac packaging (dev): `scripts/package-mac-app.sh` defaults to current arch. Release checklist: `docs/platforms/mac/release.md`. - Type-check/build: `pnpm build` (tsc) - Lint/format: `pnpm lint` (oxlint), `pnpm format` (oxfmt) - Tests: `pnpm test` (vitest); coverage: `pnpm test:coverage` diff --git a/docs/platforms/mac/release.md b/docs/platforms/mac/release.md index 9e2dd1bbb..077cdd342 100644 --- a/docs/platforms/mac/release.md +++ b/docs/platforms/mac/release.md @@ -24,6 +24,7 @@ This app now ships Sparkle auto-updates. Release builds must be Developer ID–s Notes: - `APP_BUILD` maps to `CFBundleVersion`/`sparkle:version`; keep it numeric + monotonic (no `-beta`), or Sparkle compares it as equal. - Defaults to the current architecture (`$(uname -m)`). For release/universal builds, set `BUILD_ARCHS="arm64 x86_64"` (or `BUILD_ARCHS=all`). +- Use `scripts/package-mac-dist.sh` for release artifacts (zip + DMG + notarization). Use `scripts/package-mac-app.sh` for local/dev packaging. ```bash # From repo root; set release IDs so Sparkle feed is enabled.