mihaigalos / miniboot

🏗️ An I2C bootloader for Arduino.
GNU General Public License v3.0
65 stars 18 forks source link

Escape the double quotes #14

Closed chaifeng closed 4 years ago

chaifeng commented 4 years ago

https://github.com/mihaigalos/miniboot/blob/c4ada3cf2a77084789ad1fbf86236aecb4a9d071/scripts/post_summary.sh#L9

curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST \
    -d "{\"body\": \"${push_message}\"}" \
    "https://api.github.com/repos/${TRAVIS_REPO_SLUG}/issues/${TRAVIS_PULL_REQUEST}/comments"
mihaigalos commented 4 years ago

Fixed with this commit.