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}}"