From e63cf3b89e41ff3dd4d43115ff10705f58e994b0 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Wed, 13 Sep 2017 17:28:58 +0300 Subject: [PATCH] ci(aio): correctly serialize commit messages with "double-quotes" (#19184) PR Close #19184 --- aio/scripts/payload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/scripts/payload.sh b/aio/scripts/payload.sh index aacd7c615e..36cb1e10b3 100755 --- a/aio/scripts/payload.sh +++ b/aio/scripts/payload.sh @@ -61,7 +61,7 @@ else # Nothing changed in aio/ exit 0 fi -message=$(echo $TRAVIS_COMMIT_MESSAGE | sed 's/"/\\"/g' | sed 's/\\/\\\\/g') +message=$(echo $TRAVIS_COMMIT_MESSAGE | sed 's/\\/\\\\/g' | sed 's/"/\\"/g') payloadData="$payloadData\"change\": \"$change\", \"message\": \"$message\"" payloadData="{${payloadData}}"