Skip to content

Commit 14b1725

Browse files
committed
update-toml-version.yaml now updates all 4 crates
1 parent 9ff3981 commit 14b1725

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/update-toml-version.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
# Update version in llama-cpp-2 Cargo.toml
3131
sed -i "s/^version = \".*\"/version = \"$NEXT_VERSION\"/g" llama-cpp-2/Cargo.toml
3232
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
3335
# Commit the changes
3436
git config --global user.email "[email protected]"
3537
git config --global user.name "GitHub Actions"
@@ -39,4 +41,4 @@ jobs:
3941
git checkout -b version-bump-$NEXT_VERSION
4042
# Push the changes and create a pull request
4143
git push origin version-bump-$NEXT_VERSION --force
42-
gh pr create --base main --head version-bump-$NEXT_VERSION --title "Bump version to $NEXT_VERSION" --fill
44+
gh pr create --base main --head version-bump-$NEXT_VERSION --title "Bumped version to $NEXT_VERSION" --fill

0 commit comments

Comments
 (0)