Skip to content

Commit 5692238

Browse files
authored
fix: apply correct version bump commit title (#4122)
1 parent 60e8b7a commit 5692238

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/version.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ echo "Creating branch: $BRANCH_NAME"
2727
git checkout -b "$BRANCH_NAME"
2828

2929
echo "Committing changes..."
30-
git commit -a -m 'chore: version bump' -m '<trigger_release>'
30+
VERSION=$(jq -r '.version' lerna.json)
31+
git commit -a -m "chore: bump version to $VERSION" -m '<trigger_release>'
3132

3233
echo "Version bump complete! Branch $BRANCH_NAME created and changes committed."

0 commit comments

Comments
 (0)