chore(cua-driver-rs): bake 0.3.4 into install scripts - #1770
Conversation
The 0.3.4 release published all platform assets, but the CD "bake version into install scripts (commit + push)" step failed (it aborts on a dirty working tree left by the earlier in-tree bake step), so main's installer still pointed at 0.3.3. As a result `curl … | install.sh` downloaded the stale 0.3.3 tarball. Manually bake 0.3.4 into both installer pointers so the default install fetches the current release. Follow-up: fix the CD bake step so the double-edit no longer aborts the checkout. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughBoth Bash and PowerShell installer scripts synchronize their fallback Rust driver release version from 0.3.3 to 0.3.4, updating the default tag selected when no explicit version is provided via environment variable or command-line argument. ChangesRust driver version update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Problem
cua-driver-rs-v0.3.4published with all platform assets, but the defaultcurl … | install.shstill downloads 0.3.3.Cause: the CD "Bake version into install scripts (commit + push)" step in
cd-rust-cua-driver.ymlfailed for 0.3.4 — it aborts with "Your local changes would be overwritten by checkout" because the working tree is already dirty from the earlier in-tree bake step. It fails deterministically (also failed on re-run). Somain'sCUA_DRIVER_RS_BAKED_VERSIONwas never advanced past 0.3.3.Fix
Manually bake
0.3.4into both installer pointers:_install-rust.sh:CUA_DRIVER_RS_BAKED_VERSION="0.3.4"install.ps1:$Script:CuaDriverRsBakedVersion = "0.3.4"Follow-up (separate)
The CD bake step needs fixing so the in-tree edit + commit/push double-edit no longer aborts the checkout — otherwise every future release will leave the baked pointer one version behind.
🤖 Generated with Claude Code
Summary by CodeRabbit