File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2929 sed -i "s/^version = \".*\"/version = \"$NEXT_VERSION\"/g" llama-cpp-sys-2/Cargo.toml
3030 # Update version in llama-cpp-2 Cargo.toml
3131 sed -i "s/^version = \".*\"/version = \"$NEXT_VERSION\"/g" llama-cpp-2/Cargo.toml
32- sed -i "s/^\(llama-cpp-sys-2 = { path = \"\.\.\/llama-cpp-sys-2\", version = \)\"$CURRENT_VERSION\"/\1\"$NEXT_VERSION\"/" llama-cpp-2/Cargo.toml
33- sed -i "s/^\(llama-cpp-2 = { path = \"\.\.\/llama-cpp-2\", version = \)\"$CURRENT_VERSION\"/\1\"$NEXT_VERSION\"/" simple/Cargo.toml
34- sed -i "s/^\(llama-cpp-2 = { version = \)\"$CURRENT_VERSION\"/\1\"$NEXT_VERSION\"/" Cargo.toml
32+ sed -i "s/^\(llama-cpp-sys-2 = { path = \"\.\.\/llama-cpp-sys-2\", version = \)\"$CURRENT_VERSION\"/\1\"$NEXT_VERSION\"/" llama-cpp-2/Cargo.toml
33+ # Update the version in the simple Cargo.toml
34+ sed -i "s/^version = \".*\"/version = \"$NEXT_VERSION\"/g" simple/Cargo.toml
35+ sed -i "s/^\(llama-cpp-2 = { path = \"\.\.\/llama-cpp-2\", version = \)\"$CURRENT_VERSION\"/\1\"$NEXT_VERSION\"/" simple/Cargo.toml
36+ # Update the version in the root Cargo.toml
37+ sed -i "s/^version = \".*\"/version = \"$NEXT_VERSION\"/g" Cargo.toml
3538 # Commit the changes
3639 git config --global user.email "[email protected] " 3740 git config --global user.name "GitHub Actions"
You can’t perform that action at this time.
0 commit comments