Repository navigation
Deployment
How changes reach main and how a plugin is released. There is no staging: users install straight from the default branch on GitHub, so main is production. This page has no Deploy section, and /stage does not apply.
Every git write below needs the user's approval; invoking /submit or /publish is that approval.
Commit the work, open a pull request against main, and merge it once CI passes. Merging is part of Submit, so a submitted change is live.
- The lefthook hooks MUST be installed (
pnpm --dir repo install;git -C repo config --get core.hooksPathprints nothing) and the banned-strings list MUST exist; see Development#setup. MUST NOT commit with--no-verify. - Run
pnpm --dir repo quality,pnpm --dir repo proofs(Proofs), andclaude plugin validate repo --strict. Any failure: stop. - Work on a branch
<type>/<N>-<slug>frommain(feat,fix,chore,docs). - Commit with a Conventional Commits message that ends with
Closes #N. - Push the branch:
git -C repo push -u origin <branch>. The pre-push hook scans every commit being pushed. - Open a PR:
gh pr create --repo simpleapps-com/augur-plugins --base main --body-file tmp/pr-body.txt. - Wait for the Validate check:
gh pr checks <N> --repo simpleapps-com/augur-plugins --watch. Any failure: stop and leave the PR open. - Merge:
gh pr merge <N> --repo simpleapps-com/augur-plugins --squash --delete-branch. - Switch
repo/back tomainand fast-forward it toorigin/main. - Report the PR URL, the Validate status, and the merge commit.
First commit only. While the remote has no commits, there is no main for a PR to target. The first commit goes directly on main and is pushed with git -C repo push -u origin main; steps 3 and 6 are skipped. GitHub then treats main as the default branch.
Release a plugin by bumping its version; there are no tags or GitHub releases. Submit already merged the changes, so new installs have them; the bump is what delivers them to existing installs.
Pre-flight, per plugin changed since its last release:
- Current version: the
versioninplugins/<name>/.claude-plugin/plugin.jsononmain - New version:
YYYY.M.seqfor the current year and month (no leading zero on the month);seqis 1 for the plugin's first release that month, otherwise one more than the last (Plugin-Format#versioning) - Changes:
git -C repo log --oneline <last version-bump commit>..origin/main -- plugins/<name>. None: skip the plugin - CI: the latest Validate run on
mainis green. Otherwise: stop
Steps:
- Set the new
versionin each released plugin'splugin.json. MUST NOT set it inmarketplace.json. - Commit as
chore(release): <name> <version>, one line per plugin when several ship together. - Push, open a PR, and merge as in Deployment#submit. The version bump is the release: existing installs update only when
versionchanges. - After merge, walk the release checks on each surface.