fix(build): sync Cargo.lock youtrack-mcp version to 0.2.0 #22
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/YTMCP-18-stale-cargo-lock-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
build-binary-static.ymlonmain(run #109, commit0270e23f) failed at thecargo build --release --lockedcache-priming step with:error: cannot update the lock file because --locked was passed to prevent this.Root cause
The v0.2.0 release (
650eec1) bumpedversioninCargo.tomlfrom0.1.0to0.2.0butCargo.lockstill recorded theyoutrack-mcppackage at0.1.0. Cargo treats the root package version as part of the lock, so the mismatch forces a re-lock, which--lockedforbids. This is not ayoutrack-cligit-dependency drift:tag = v0.4.0resolves to4edbe18in bothCargo.tomlandCargo.lock, matching the remote tag.Fix
Update the single recorded version line in
Cargo.lock(0.1.0to0.2.0). No other dependency changes. Verified withcargo build --locked --offline(succeeds, touching only that line) and the fulljust pre-commitgate (fmt, clippy, build, 73 tests, all green).#YTMCP-18