mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-17 13:13:35 +08:00
Keep v0.1.9 release builds on a compatible Tauri stack
The release script regenerated Cargo.lock after Tauri 2.11 became available, while the desktop Bun lock still resolves @tauri-apps/api and CLI to 2.10.1. Tauri's build preflight rejects that major/minor mismatch on every platform, so the Rust Tauri release stack is now pinned to the 2.10 combination already used by the previous successful release. Constraint: v0.1.9 must keep the existing desktop Bun lock and JS Tauri packages at 2.10.1 Constraint: scripts/release.ts runs cargo generate-lockfile during release preparation Rejected: Upgrade JS @tauri-apps packages during the release fix | larger dependency surface and unnecessary for the failed workflow Rejected: Pin only the tauri crate | cargo still selected tauri-runtime 2.11.0, causing Rust API type mismatches Confidence: high Scope-risk: narrow Directive: Keep Rust and JS Tauri major/minor versions aligned before moving release tags Tested: gh run view 25217609687 --log-failed Tested: cd desktop/src-tauri && cargo generate-lockfile Tested: cd desktop && bunx tauri build --target aarch64-apple-darwin --config src-tauri/tauri.release-ci.json --no-bundle Tested: cd desktop/src-tauri && cargo check Not-tested: Full GitHub Actions matrix after retag
This commit is contained in:
parent
388c80a962
commit
c13fa75c3b
605
desktop/src-tauri/Cargo.lock
generated
605
desktop/src-tauri/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -8,10 +8,12 @@ name = "claude_code_desktop_lib"
|
||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "2", features = [] }
|
||||
tauri-build = { version = "=2.5.6", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "2", features = ["tray-icon"] }
|
||||
tauri = { version = "=2.10.3", features = ["tray-icon"] }
|
||||
tauri-runtime = "=2.10.1"
|
||||
tauri-runtime-wry = "=2.10.1"
|
||||
tauri-plugin-shell = "2"
|
||||
tauri-plugin-dialog = "2"
|
||||
tauri-plugin-process = "2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user