Skip to content

Commit e3fa968

Browse files
MajorTalclaude
andcommitted
Add close-linked-issues step to publish command
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e743907 commit e3fa968

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.claude/commands/publish.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ Stage all three files and commit: `git add package.json cli/package.json package
3535
1. `git push` to push the version bump commit.
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.
38-
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. **Install the new version locally** so `run402` on the command line uses the just-published version:
38+
4. **Close linked GitHub issues.** If any commit in the release references a GitHub issue (e.g. `Fixes #20`, `Closes #42`), verify the issue is closed. If not, close it with `gh issue close <number> --reason completed`.
39+
5. **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.
40+
6. **Install the new version locally** so `run402` on the command line uses the just-published version:
4041
```
4142
npm install -g run402@<new_version>
4243
```
4344
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:
45+
7. Print a summary of what was published, including the new version and npm URLs:
4546
- https://www.npmjs.com/package/run402-mcp
4647
- https://www.npmjs.com/package/run402
4748

0 commit comments

Comments
 (0)