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 and open a pull request against main.
- The hooks MUST be on (
git -C repo config --get core.hooksPathprints.githooks) and the banned-strings list MUST exist; see Development#banned-strings-check. MUST NOT commit with--no-verify. - Run
claude plugin validate repo. 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. - 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.
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
versioninplugins/<name>/.claude-plugin/plugin.jsononmain - New version:
YYYY.MM.Nfor the current year and month;Nis 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 and open a PR as in Deployment#submit; merging it is the release.
- After merge, walk the release checks on each surface.