Skip to content

Commit 29d37b4

Browse files
authored
Handle quotes in commit messages (#1336)
1 parent e0b1fe6 commit 29d37b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ops/build_autoincrement_release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ if [[ -z "${NEW_RELEASE_HISTORY}" ]]; then
174174
exit 0
175175
fi
176176

177+
# escape any quotes
178+
NEW_RELEASE_HISTORY="${NEW_RELEASE_HISTORY//\"/\\\"}"
179+
177180
# Create and push new release tag
178181
#
179182
echo "Pushing new tag"

0 commit comments

Comments
 (0)