mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-27 07:09:57 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated workflow to ignore changes in the `Cargo.lock` file during documentation checks, reducing unnecessary workflow failures. - Enhanced release process by adding automated lockfile updates for Node.js and Rust components. - Removed an obsolete package-lock update job from the publishing workflow to streamline releases. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
19 lines
364 B
Bash
Executable File
19 lines
364 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# This updates the lockfile without building
|
|
cargo metadata > /dev/null
|
|
|
|
pushd nodejs || exit 1
|
|
npm install --package-lock-only
|
|
popd
|
|
pushd node || exit 1
|
|
npm install --package-lock-only
|
|
popd
|
|
|
|
if git diff --quiet --exit-code; then
|
|
echo "No lockfile changes to commit; skipping amend."
|
|
else
|
|
git commit --amend --no-edit
|
|
fi
|