fix(release): the workspace crates' exact pins move with the version
91ec5fb bumped the workspace to 0.2.0 but left wallet-entities,
wallet-core and wallet-data pinned to each other at =0.1.0, so Cargo.lock
no longer resolved. The pins are now =0.2.0, the lockfile follows, and
script/stamp-version.sh rewrites the pins from the workspace version so
the next bump cannot leave them behind. Gate run with --locked.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014ftBXYuba8ARhQeF74oUgW
This commit is contained in:
@@ -17,6 +17,9 @@ if [ "${1:-}" != "" ]; then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
# The workspace's own crates pin each other exactly; keep the pins on the
|
||||
# workspace version, or a bump leaves Cargo.lock unresolvable.
|
||||
sed -i -E "s/^(wallet-[a-z]+ = \{ path = \"crates\/wallet-[a-z]+\", version = \")=[^\"]+(\" \})/\1=${version}\2/" "${here}/Cargo.toml"
|
||||
python3 - "${version}" "${here}/crates/wallet-app/tauri.conf.json" "${here}/ui/package.json" <<'PY'
|
||||
import json, sys
|
||||
version, *files = sys.argv[1:]
|
||||
|
||||
Reference in New Issue
Block a user