Skip to content

Commit c0f4da5

Browse files
committed
chore: update update_refs.sh script to optionally commit changes
1 parent fb39139 commit c0f4da5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

_scripts/update_refs.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ function maybe_commit {
3838
PATCH=$(mktemp)
3939
git add -u
4040
git diff --staged > "$PATCH"
41-
git commit -m "$MESSAGE"
42-
echo "committed changes with message: $MESSAGE"
43-
echo "patch written to: $PATCH"
41+
git commit -S -m "$MESSAGE" --no-verify
42+
echo "patch written to: $PATCH" | prepend "\t"
4443
}
4544

4645
if [[ "$CURRENT_BRANCH" == release-* ]]; then

0 commit comments

Comments
 (0)