[ci] Fix escaping in do-release.sh script

This commit is contained in:
Andreas Dangel 2021-06-26 11:25:26 +02:00
parent 2e3d77ba11
commit 8e952fef2b
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -245,8 +245,8 @@ tweet="${tweet// /%20}"
tweet="${tweet//:/%3A}"
tweet="${tweet//#/%23}"
tweet="${tweet//\//%2F}"
tweet="${tweet//$'\r'//}"
tweet="${tweet//$'\n'//%0A}"
tweet="${tweet//$'\r'/}"
tweet="${tweet//$'\n'/%0A}"
echo "* Tweet about this release on https://twitter.com/pmd_analyzer:"
echo " <https://twitter.com/intent/tweet?text=$tweet>"
echo