escape string

This commit is contained in:
Nabeel Shahzad 2018-01-04 21:55:56 -06:00
parent fe7278c3b7
commit e326eebb77

View File

@ -52,9 +52,6 @@ if [ "$TRAVIS" = "true" ]; then
echo "running rsync"
rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/downloads/
export $TAR_NAME
export $VERSION
curl -X POST --data '{"content": "A new build is available at http://phpvms.net/downloads/$TAR_NAME ($VERSION)"}' -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL
curl -X POST --data "{\"content\": \"A new build is available at http://phpvms.net/downloads/$TAR_NAME ($VERSION)\"}" -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL
fi