ci(aio): correctly serialize commit messages with "double-quotes" (#19184)
PR Close #19184
This commit is contained in:
parent
9624fda082
commit
e63cf3b89e
@ -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}}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user