Vectrum
Sign In

Fetch crates before the offline version bump

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JjohannSocommitted 1 parent f30b247commit8d2577a

Showing 1 changed file with 1 addition and 0 deletions.

+1−0build.shView File
@@ -114,6 +114,7 @@ if [[ -n "$NEW_VERSION" && "$NEW_VERSION" != "$VERSION" ]]; then
114114 check_tag "$NEW_VERSION" ""
115115 fi
116116 log "Version $VERSION → $NEW_VERSION"
117+ cargo fetch --locked --quiet --manifest-path "$ROOT/Cargo.toml"
117118 sed -i "0,/^version *= *\".*\"/s//version = \"$NEW_VERSION\"/" "$ROOT/Cargo.toml"
118119 cargo update --workspace --offline --quiet --manifest-path "$ROOT/Cargo.toml"
119120 git -C "$ROOT" commit -q -m "Version $NEW_VERSION" -- Cargo.toml Cargo.lock