This directory contains automation scripts for Cody release captains.
An interactive CLI workflow that follows the Release Captain Playbook and guides release captains through the complete Cody release process.
- Git CLI
- GitHub CLI (
gh) jqfor JSON processing- Write access to the Cody repository
- JetBrains account with admin access (for JetBrains releases)
GITHUB_TOKENenvironment variable set
./release/release-captain.shThe script provides an interactive menu with these options:
- Day 1: Create release branch - Creates release branch, backport labels, and prerelease builds
- Day 2-6: Stabilize release branch - Helps create new prerelease builds after backports
- Day 7: Ship stable release - Guides through stable release process for VSCode, JetBrains, and Agent
- Emergency patch release - Creates emergency patch releases when needed
- Check prerequisites - Validates required tools and permissions
MILESTONE- The milestone number (e.g., 66). If not set, the script will prompt for it.
# Set milestone and run
export MILESTONE=66
./release/release-captain.shThe script automates most tasks but still requires manual steps for:
- Reviewing and organizing generated changelogs
- JetBrains Marketplace management (unhiding releases, writing release notes)
- Community notifications and QA coordination
- Monitoring workflow statuses
- Final release verification
Hey team! 👋 I'm the release captain for milestone {MILESTONE}.
We've branched from commit {COMMIT_HASH} for M{MILESTONE}, which will produce:
- VSCode v1.{MILESTONE}.0
- JetBrains v7.{MILESTONE}.0
**For ship-blocking fixes**: Add the `backport M{MILESTONE}` label to your PRs.
**Prerelease versions for dogfooding**:
- VSCode Insiders: v1.{MILESTONE_MINUS_ONE}.{BUILD}
- JetBrains Nightly: v7.{MILESTONE_MINUS_ONE}.0-nightly
Please update your extensions and help us test! 🧪
Next opportunity to reach stable: land code by {NEXT_BRANCH_DATE}, ships {NEXT_RELEASE_DATE}.
Hi QA team! 👋
New prerelease builds are ready for testing:
- **JetBrains**: v7.{MILESTONE_MINUS_ONE}.0-nightly
- **VSCode Insiders**: v1.{MILESTONE_MINUS_ONE}.{BUILD}
Please QA these versions and report any issues. Thanks! 🙏
Hi community support team! 👋
I'm the release captain for Cody milestone {MILESTONE}.
**Current prerelease versions**:
- VSCode Insiders: v1.{MILESTONE_MINUS_ONE}.{BUILD}
- JetBrains Nightly: v7.{MILESTONE_MINUS_ONE}.0-nightly
Please flag any issues you see with these versions - especially helpful since prerelease has fewer users. Thanks for the partnership! 🤝
- Main release guide: See the comprehensive release captain guide in the codebase
- Agent release guide
- Cody Web publishing guide