Skip to content

Commit 1f0ad7b

Browse files
authored
Merge pull request #73 from utilityai/update-toml-fix
update-toml fix
2 parents 4d0c363 + 07b70e7 commit 1f0ad7b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@ jobs:
3232
git config --global user.name "GitHub Actions"
3333
git add llama-cpp-sys-2/Cargo.toml llama-cpp-2/Cargo.toml
3434
git commit -m "Bump version to $NEXT_VERSION [skip ci]"
35-
# Push the changes back to the repository
36-
git push origin main:$GITHUB_REF
35+
# Create a branch for the changes
36+
git checkout -b version-bump-$NEXT_VERSION
37+
# Push the changes and create a pull request
38+
git push origin version-bump-$NEXT_VERSION
39+
gh pr create --base main --head version-bump-$NEXT_VERSION --title "Bump version to $NEXT_VERSION"

0 commit comments

Comments
 (0)