forked from phoedos/pmd
Merge branch 'travis-release'
This commit is contained in:
@@ -28,6 +28,10 @@ EOF
|
|||||||
echo "Updating release at https://api.github.com/repos/pmd/pmd/releases/${RELEASE_ID}..."
|
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})
|
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
|
if [[ "$RESPONSE" != *"HTTP/1.1 200"* ]]; then
|
||||||
|
echo "Request:"
|
||||||
|
cat release-edit-request.json
|
||||||
|
echo
|
||||||
|
echo "Response:"
|
||||||
echo "$RESPONSE"
|
echo "$RESPONSE"
|
||||||
else
|
else
|
||||||
echo "Update OK"
|
echo "Update OK"
|
||||||
|
@@ -140,8 +140,8 @@ echo
|
|||||||
echo "Verify the new release on github: <https://github.com/pmd/pmd/releases/tag/pmd_releases/${RELEASE_VERSION}>"
|
echo "Verify the new release on github: <https://github.com/pmd/pmd/releases/tag/pmd_releases/${RELEASE_VERSION}>"
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo "Send out an announcement mail to the mailing list:
|
echo "Send out an announcement mail to the mailing list:"
|
||||||
echo "To: PMD Developers List <pmd-devel@lists.sourceforge.net>
|
echo "To: PMD Developers List <pmd-devel@lists.sourceforge.net>"
|
||||||
echo "Subject: [ANNOUNCE] PMD ${RELEASE_VERSION} Released"
|
echo "Subject: [ANNOUNCE] PMD ${RELEASE_VERSION} Released"
|
||||||
echo "Body: !!Copy Changelog!!"
|
echo "Body: !!Copy Changelog!!"
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user