Skip to content

Commit e103568

Browse files
MajorTalclaude
andcommitted
Add global install step to /publish command
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2c8405f commit e103568

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.claude/commands/publish.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ Stage all three files and commit: `git add package.json cli/package.json package
3636
2. Create a git tag: `git tag v<new_version> && git push --tags`
3737
3. Create a GitHub release from the tag. Write a human-readable summary of the actual changes (features, fixes, improvements) — don't just list commit hashes or rely on `--generate-notes`. Use `gh release create v<new_version> --notes "..."` with a clear description.
3838
4. **Update `llms-cli.txt` in the run402 repo.** The CLI documentation lives in a separate repo at `~/dev/run402/site/llms-cli.txt`. If any CLI commands, manifest fields, or user-facing behavior changed since the last release, update that file to match, then commit and push the run402 repo.
39-
5. Print a summary of what was published, including the new version and npm URLs:
39+
5. **Install the new version locally** so `run402` on the command line uses the just-published version:
40+
```
41+
npm install -g run402@<new_version>
42+
```
43+
Verify with `run402 --version` and confirm it matches the new version.
44+
6. Print a summary of what was published, including the new version and npm URLs:
4045
- https://www.npmjs.com/package/run402-mcp
4146
- https://www.npmjs.com/package/run402

0 commit comments

Comments
 (0)