From 1635a06bdaa1bd00e7bf9a018b1376545b440171 Mon Sep 17 00:00:00 2001 From: tinayuangao Date: Wed, 2 Aug 2017 15:59:20 -0700 Subject: [PATCH] ci(aio): Add commit message to payload data (#18137) --- aio/scripts/payload.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aio/scripts/payload.sh b/aio/scripts/payload.sh index 0dc0bd9c30..aacd7c615e 100755 --- a/aio/scripts/payload.sh +++ b/aio/scripts/payload.sh @@ -61,7 +61,8 @@ else # Nothing changed in aio/ exit 0 fi -payloadData="$payloadData\"change\": \"$change\"" +message=$(echo $TRAVIS_COMMIT_MESSAGE | sed 's/"/\\"/g' | sed 's/\\/\\\\/g') +payloadData="$payloadData\"change\": \"$change\", \"message\": \"$message\"" payloadData="{${payloadData}}"