fix(build): sync Cargo.lock with 0.2.0 version bump #24
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/cargo-lock-version-sync"
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
The
build-binary.ymlrelease build failed on thev0.2.0tag atcargo build --release --lockedwithcannot update the lock file Cargo.lock because --locked was passed. Thev0.2.0release commit bumpedCargo.tomltoversion = "0.2.0"but left the committedCargo.lockpinningforgejo-mcpat0.1.0, so the lock is out of sync with the manifest and--lockedrefuses to proceed.Fix
Regenerate the
forgejo-mcpentry inCargo.lockto0.2.0(one line) so the lock matchesCargo.toml. Verified withcargo metadata --locked(passes) and the fulljust pre-commitsuite (fmt, clippy, build, test all green).Follow-up (release re-trigger)
This restores the lock on
mainbut does not re-run the failed release. Per the FJMCP-18 triage, after merge thev0.2.0tag must be deleted and re-created (or bumped) so the tag points at the fixed commit and the release build re-triggers. That tag/release step is the maintainer's to take.Fixes FJMCP-18.