name: release description: Build, sign, notarize, and publish a Prowl release.
Release
Build, sign, notarize, and publish a Prowl release.
- Verify current branch is
main:git branch --show-current- If not on main, abort and tell the user to switch first
- Verify working tree is clean:
git status --porcelain- If dirty, list the changes and ask whether to proceed or abort
- Sync the docs to the code being released — before the version bump and tag:
- Run the
sync-docsskill. It diffsdocs/.sync-meta.json'slast_synced_commitagainst the currentmainHEAD (the code about to ship), updates any docs whose implementation changed, and setslast_synced_committo the current HEAD — the exact commit being released, recorded before the bump/tag. - Commit the result as its own commit (only
docs/**, which includesdocs/.sync-meta.json; nevergit add .): e.g.git commit -m "Sync docs for <VERSION>". This is required:release.shaborts on a dirty tree, and the doc commit must land onmainnow so it is an ancestor of the tag and ships inside the release. - Ordering is load-bearing: docs first, then bump + tag. Never tag first. The baseline points at the released code (the pre-doc-commit HEAD), not at the later doc/bump/CHANGELOG commits — that is correct and intentional (those commits touch no implementation files, so the next sync starts from a tight, accurate diff range).
- If sync-docs reports "needs human decision" items, resolve or defer them before continuing.
- Most releases change little or no implementation, so this step is usually a no-op doc-wise
(just a baseline bump). Keep it cheap — see the
sync-docsskill's cost notes.
- Run the
- Determine the version:
- If
$ARGUMENTSis provided, use it as the version (e.g.,2026.3.18) - Otherwise, default to today's date format and confirm with the user before proceeding
- If
- Generate release notes:
./doc-onevcat/scripts/release-notes.sh <VERSION>- This script compares HEAD against the previous release tag, gathers commits and
PR descriptions, and generates user-facing notes via LLM into
build/release-notes.md. - Read the generated
build/release-notes.md, show the content to the user, and wait for explicit confirmation. If the user wants changes, edit the file directly. - Do NOT proceed to the next step until the user confirms the release notes.
- This script compares HEAD against the previous release tag, gathers commits and
PR descriptions, and generates user-facing notes via LLM into
- Run the release script:
./doc-onevcat/scripts/release.sh <VERSION>- The script reads
build/release-notes.md(required — refuses to run without it). - It handles: version bump, build, sign, notarize, DMG, appcast, GitHub Release, and Prowl-Site update. If the tag already exists (e.g., from a prior interrupted run), it skips the bump step automatically.
- The script reads
- Report the GitHub release URL and remind the user to verify:
- The DMG downloads and installs correctly
- Sparkle update check works (launch app → Check for Updates)