Skip to content

Deployment

Stuart Jackson edited this page Nov 22, 2026 · 6 revisions

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.

Submit

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.

  1. The lefthook hooks MUST be installed (pnpm --dir repo install; git -C repo config --get core.hooksPath prints nothing) and the banned-strings list MUST exist; see Development#setup. MUST NOT commit with --no-verify.
  2. Run pnpm --dir repo quality, pnpm --dir repo proofs (Proofs), and claude plugin validate repo --strict. Any failure: stop.
  3. Work on a branch <type>/<N>-<slug> from main (feat, fix, chore, docs).
  4. Commit with a Conventional Commits message that ends with Closes #N.
  5. Push the branch: git -C repo push -u origin <branch>. The pre-push hook scans every commit being pushed.
  6. Open a PR: gh pr create --repo simpleapps-com/augur-plugins --base main --body-file tmp/pr-body.txt.
  7. Wait for the Validate check: gh pr checks <N> --repo simpleapps-com/augur-plugins --watch. Any failure: stop and leave the PR open.
  8. Merge: gh pr merge <N> --repo simpleapps-com/augur-plugins --squash --delete-branch.
  9. Switch repo/ back to main and fast-forward it to origin/main.
  10. 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.

Publish

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 version in plugins/<name>/.claude-plugin/plugin.json on main
  • New version: YYYY.M.seq for the current year and month (no leading zero on the month); seq is 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 main is green. Otherwise: stop

Steps:

  1. Set the new version in each released plugin's plugin.json. MUST NOT set it in marketplace.json.
  2. Commit as chore(release): <name> <version>, one line per plugin when several ship together.
  3. Push, open a PR, and merge as in Deployment#submit. The version bump is the release: existing installs update only when version changes.
  4. After merge, walk the release checks on each surface.

Clone this wiki locally