# Release Process for Ruchy v0.3.0
## Pre-Release Checklist
✅ **Code Quality**
- [x] All tests passing (96.4% pass rate)
- [x] Production code lint-clean
- [x] Zero SATD violations
- [x] PMAT quality gates verified
✅ **Documentation**
- [x] README.md updated with v0.3.0 features
- [x] CHANGELOG.md updated
- [x] RELEASE_NOTES_v0.3.0.md created
- [x] CONTRIBUTING.md added
- [x] Technical reports generated
✅ **Version Updates**
- [x] Cargo.toml version: 0.3.0
- [x] ruchy-cli dependency: 0.3.0
✅ **Git**
- [x] All changes committed
- [x] Tag v0.3.0 created
- [x] Pushed to GitHub
## GitHub Release
1. **Check CI Status**: https://github.com/paiml/ruchy/actions
- All jobs should pass (test, lint, build, coverage)
2. **Create GitHub Release**:
- Go to: https://github.com/paiml/ruchy/releases/new
- Tag: v0.3.0
- Title: "v0.3.0 - REPL Fixed with Extreme Quality Engineering"
- Description: Copy from RELEASE_NOTES_v0.3.0.md
- Attach binaries from CI artifacts (if available)
## Crates.io Release
### Prerequisites
- Ensure you have publish rights on crates.io
- Have your API token ready: https://crates.io/me
### Publishing Steps
1. **Login to crates.io** (if not already):
```bash
cargo login YOUR_API_TOKEN
```
2. **Publish ruchy library**:
```bash
cargo publish -p ruchy
```
3. **Wait for indexing** (2-5 minutes):
```bash
cargo search ruchy
```
4. **Publish ruchy-cli**:
```bash
cargo publish -p ruchy-cli
```
### Verification
1. **Check crates.io**:
- https://crates.io/crates/ruchy
- https://crates.io/crates/ruchy-cli
- Verify version 0.3.0 is listed
2. **Test installation**:
```bash
cargo install ruchy-cli
ruchy --version
```
## Post-Release
1. **Announce Release**:
- Update project website (if applicable)
- Post on social media
- Notify users via mailing list
2. **Monitor**:
- Check for issue reports
- Monitor CI for any failures
- Watch crates.io download stats
## Troubleshooting
### CI Failures
- Check https://github.com/paiml/ruchy/actions
- Review logs for specific failures
- Fix and re-push if needed
### Crates.io Issues
- If publish fails: Check error message
- Common issues:
- Version already exists (bump version)
- Missing metadata (update Cargo.toml)
- Too large (check package size)
### GitHub Release Issues
- If release workflow fails:
- Check GITHUB_TOKEN permissions
- Verify tag exists
- Check release notes file path
## Summary
v0.3.0 introduces major improvements:
- ✅ All REPL bugs fixed with ReplV2
- ✅ Extreme quality engineering implemented
- ✅ Deterministic compilation guaranteed
- ✅ Comprehensive error recovery system
- ✅ 96.4% test pass rate
This release represents a significant quality milestone for the Ruchy project!