Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,11 @@ jobs:
sed -i.bak "s/^version = \"$CURRENT\"/version = \"$RELEASE\"/" "$crate_toml" && rm -f "$crate_toml.bak"
done
# Refresh only the workspace crate versions in Cargo.lock. A bare
# `cargo update` would re-resolve the unpinned git dependencies
# (gpui / gpui-component) and pull a second, incompatible copy of gpui
# into the graph. --workspace keeps those git deps at their locked
# commit so the subsequent `--locked` build stays reproducible.
# `cargo update` would re-resolve *all* dependencies; `--workspace`
# touches only our own crates. The gpui / gpui-component git deps are
# pinned to explicit revs in the root Cargo.toml `[patch]` section, so
# they stay at their locked commit either way and the subsequent
# `--locked` build stays reproducible.
cargo update --workspace
grep -m1 "^version = " crates/code_assistant/Cargo.toml

Expand Down
Loading
Loading