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
12 changes: 8 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,17 @@ jobs:

# release-please bumps the workspace version in Cargo.toml (via the
# x-release-please-version annotation) but does not touch Cargo.lock, so
# the csp/csp-cli entries stay at the previous version and the release
# build's `cargo build --locked` fails. Refresh the member versions in the
# lockfile and commit it into the release PR. Mirrors the bun.lock sync.
# every workspace member stays at the previous version and the release
# build's `cargo build --locked` fails. `--workspace` re-locks only the
# local members by their real package names (code-search-please / csp-cli
# / csp-node) — it does not bump external deps. Don't name packages
# explicitly: `-p csp` broke once the lib crate was renamed to
# code-search-please and csp-node was added. Commit it into the release
# PR. Mirrors the bun.lock sync.
- name: Sync Cargo.lock
if: ${{ steps.release.outputs.pr }}
run: |
cargo update -p csp -p csp-cli
cargo update --workspace
if git diff --quiet Cargo.lock; then
echo "Cargo.lock already in sync"
else
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading