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 and open a pull request against main.

  1. The hooks MUST be on (git -C repo config --get core.hooksPath prints .githooks) and the banned-strings list MUST exist; see Development#banned-strings-check. MUST NOT commit with --no-verify.
  2. Run claude plugin validate repo. 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. Report the PR URL and the Validate check status.

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. Merging to main makes the release live; there are no tags or GitHub releases.

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.MM.N for the current year and month; N 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 and open a PR as in Deployment#submit; merging it is the release.
  4. After merge, walk the release checks on each surface.

Clone this wiki locally