.roo/commands/cli-release.md
Identify changes since the last CLI release:
gh release list --limit 10 | grep "cli-v"git log cli-v<last-version>..HEAD -- apps/cli --onelinegit diff --stat -- apps/cliReview and summarize the changes to determine an appropriate changelog entry. Group changes by type:
Bump the version in apps/cli/package.json:
Update apps/cli/CHANGELOG.md with a new entry:
## [X.Y.Z] - YYYY-MM-DD
### Added
- Description of new features
### Changed
- Description of changes
### Fixed
- Description of bug fixes
Create a release branch and commit the changes:
# Ensure you're on main and up to date
git checkout main
git pull origin main
# Create a new branch for the release
git checkout -b cli-release-v<version>
# Commit the version bump and changelog update
git add apps/cli/package.json apps/cli/CHANGELOG.md
git commit -m "chore(cli): prepare release v<version>"
# Push the branch to origin
git push -u origin cli-release-v<version>
Create a pull request for the release:
gh pr create --title "chore(cli): prepare release v<version>" \
--body "## CLI Release v<version>
This PR prepares the CLI release v<version>.
### Changes
- Version bump in package.json
- Changelog update
### Checklist
- [ ] Version number is correct
- [ ] Changelog entry is complete and accurate
- [ ] All CI checks pass" \
--base main