mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Revert to pre-AI-SDK state (commit67e568f6b) This commit reverts the codebase to the state before AI SDK migration work began. Target commit:67e568f6b- refactor: replace fetch_instructions with skill tool and built-in skills (#10913) Date: January 29, 2026 This removes approximately 152 commits of AI SDK migration work. A follow-up PR will add back bug fixes and features that are unrelated to AI SDK. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
3.9 KiB
3.9 KiB
| description | argument-hint | mode |
|---|---|---|
| Create a new release of the Roo Code CLI | [version-description] | code |
-
Identify changes since the last CLI release:
- Get the last CLI release tag:
gh release list --limit 10 | grep "cli-v" - View changes since last release:
git log cli-v<last-version>..HEAD -- apps/cli --oneline - Or for uncommitted changes:
git diff --stat -- apps/cli
- Get the last CLI release tag:
-
Review and summarize the changes to determine an appropriate changelog entry. Group changes by type:
- Added: New features
- Changed: Changes to existing functionality
- Fixed: Bug fixes
- Removed: Removed features
- Tests: New or updated tests
-
Bump the version in
apps/cli/package.json:- Increment the patch version (e.g., 0.0.43 → 0.0.44) for bug fixes and minor changes
- Increment the minor version (e.g., 0.0.43 → 0.1.0) for new features
- Increment the major version (e.g., 0.0.43 → 1.0.0) for breaking changes
-
Update
apps/cli/CHANGELOG.mdwith a new entry:- Add a new section at the top (below the header) following this format:
## [X.Y.Z] - YYYY-MM-DD ### Added - Description of new features ### Changed - Description of changes ### Fixed - Description of bug fixes- Use the current date in YYYY-MM-DD format
- Include links to relevant source files where helpful
- Describe changes from the user's perspective
-
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 -
Wait for PR approval and merge:
- Request review if required by your workflow
- Ensure CI checks pass
- Merge the PR using:
gh pr merge --squash --delete-branch - Or merge via the GitHub UI
-
Run the release script from the monorepo root:
# Ensure you're on the updated main branch after the PR merge git checkout main git pull origin main # Run the release script ./apps/cli/scripts/release.shThe release script will automatically:
- Build the extension and CLI
- Create a platform-specific tarball
- Verify the installation works correctly (runs --help, --version, and e2e test)
- Extract changelog content and include it in the GitHub release notes
- Create the GitHub release with the tarball attached
-
After a successful release, verify:
- Check the release page: https://github.com/RooCodeInc/Roo-Code/releases
- Verify the "What's New" section contains the changelog content
- Test installation:
curl -fsSL https://raw.githubusercontent.com/RooCodeInc/Roo-Code/main/apps/cli/install.sh | sh
Notes:
- The release script requires GitHub CLI (
gh) to be installed and authenticated - If a release already exists for the tag, the script will prompt to delete and recreate it
- The script creates a tarball for the current platform only (darwin-arm64, darwin-x64, linux-arm64, or linux-x64)
- Multi-platform releases require running the script on each platform and manually uploading additional tarballs