Skip to content

Commit d6bd5a0

Browse files
jmchiltonclaude
andcommitted
Add Claude slash command for release workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1327eb7 commit d6bd5a0

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.claude/commands/ready-release.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Walk me through readying a planemo release. Run each step, check for problems, and pause if anything looks wrong.
2+
3+
## Steps
4+
5+
1. **Check git status** - ensure working tree is clean, no missing files.
6+
7+
2. **Verify version** - read `planemo/__init__.py` and confirm `__version__` is a `.devN` variant of the intended release. Show me the current version and ask me to confirm the target release version.
8+
9+
3. **Setup venv** - check `.venv` exists. If not, run `make setup-venv`. Confirm dev-requirements are installed.
10+
11+
4. **Check UPSTREAM remote** - the Makefile defaults `UPSTREAM` to `galaxyproject`. Check if `$UPSTREAM` is set in the environment; if not, check if a git remote named `galaxyproject` exists. If it doesn't, check for `origin` or `upstream` remotes pointing to `galaxyproject/planemo` and offer to create a `galaxyproject` alias via `git remote add galaxyproject <url>`. This must be resolved before `make release` can push.
12+
13+
5. **Add history** - run `make add-history` to pull contributions into HISTORY.rst under the .dev0 entry. Show me the new HISTORY.rst additions for review.
14+
15+
6. **Lint** - run `make clean && make lint`. Report any failures.
16+
17+
7. **Review** - show me a summary of outstanding uncommitted changes (if any) and ask if I want to commit them before proceeding.
18+
19+
8. **Release** - after I confirm, run `make release` which does: commit-version, new-version, check-dist, push-release. This tags, bumps to next dev version, and pushes upstream.
20+
21+
Stop after each step and report status before moving to the next.

0 commit comments

Comments
 (0)