diff --git a/.travis/release.sh b/.travis/release.sh index 4aee9a7cb8..acf6a75949 100644 --- a/.travis/release.sh +++ b/.travis/release.sh @@ -28,6 +28,10 @@ EOF echo "Updating release at https://api.github.com/repos/pmd/pmd/releases/${RELEASE_ID}..." RESPONSE=$(curl -i -s -H "Authorization: token ${GITHUB_OAUTH_TOKEN}" -H "Content-Type: application/json" --data-binary "@release-edit-request.json" -X PATCH https://api.github.com/repos/pmd/pmd/releases/${RELEASE_ID}) if [[ "$RESPONSE" != *"HTTP/1.1 200"* ]]; then + echo "Request:" + cat release-edit-request.json + echo + echo "Response:" echo "$RESPONSE" else echo "Update OK" diff --git a/do-release.sh b/do-release.sh index 4e884f6f7c..acc15b7b15 100755 --- a/do-release.sh +++ b/do-release.sh @@ -140,8 +140,8 @@ echo echo "Verify the new release on github: " echo echo -echo "Send out an announcement mail to the mailing list: -echo "To: PMD Developers List +echo "Send out an announcement mail to the mailing list:" +echo "To: PMD Developers List " echo "Subject: [ANNOUNCE] PMD ${RELEASE_VERSION} Released" echo "Body: !!Copy Changelog!!" echo