File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,12 @@ jobs:
3636 # Update the version in the root embeddings Cargo.toml
3737 sed -i "s/^version = \".*\"/version = \"$NEXT_VERSION\"/g" embeddings/Cargo.toml
3838 sed -i "s/^\(llama-cpp-2 = { path = \"\.\.\/llama-cpp-2\", version = \)\"$CURRENT_VERSION\"/\1\"$NEXT_VERSION\"/" embeddings/Cargo.toml
39+ # Update Cargo.lock by running cargo check
40+ cargo check
3941 # Commit the changes
4042 git config --global user.email "[email protected] " 4143 git config --global user.name "GitHub Actions"
42- git add llama-cpp-sys-2/Cargo.toml llama-cpp-2/Cargo.toml simple/Cargo.toml embeddings/Cargo.toml
44+ git add llama-cpp-sys-2/Cargo.toml llama-cpp-2/Cargo.toml simple/Cargo.toml embeddings/Cargo.toml Cargo.lock
4345 git commit -m "Bump version to $NEXT_VERSION [skip ci]"
4446 # Create a branch for the changes
4547 git checkout -b version-bump-$NEXT_VERSION
You can’t perform that action at this time.
0 commit comments