diff --git a/scripts/publish-deb.sh b/scripts/publish-deb.sh index 2c62015e..51c3ba22 100755 --- a/scripts/publish-deb.sh +++ b/scripts/publish-deb.sh @@ -47,7 +47,7 @@ bintrayCreateVersion () { bintrayUseGitHubReleaseNotes () { URL="https://api.bintray.com/packages/$SUBJECT/$REPO/$PACKAGE/versions/$VERSION" BODY="{ \"vcs_tag\": \"v0.0.33\", \"github_use_tag_release_notes\": \"true\" }" - echo "Creating package version $VERSION" + echo "Using release notes from GitHub" RESPONSE_CODE=$(curl -X PATCH -d "$BODY" -H "Content-Type: application/json" -u$BINTRAY_USER:$BINTRAY_API_KEY $URL -s -w "%{http_code}" -o /dev/null); if [[ "$(echo $RESPONSE_CODE | head -c2)" != "20" ]]; then echo "Unable to create package version, HTTP response code: $RESPONSE_CODE" diff --git a/scripts/publish-rpm.sh b/scripts/publish-rpm.sh index 0f7fe0c4..23ca7799 100755 --- a/scripts/publish-rpm.sh +++ b/scripts/publish-rpm.sh @@ -41,7 +41,7 @@ bintrayCreateVersion () { bintrayUseGitHubReleaseNotes () { URL="https://api.bintray.com/packages/$SUBJECT/$REPO/$PACKAGE/versions/$VERSION" BODY="{ \"vcs_tag\": \"v0.0.33\", \"github_use_tag_release_notes\": \"true\" }" - echo "Creating package version $VERSION" + echo "Using release notes from GitHub" RESPONSE_CODE=$(curl -X PATCH -d "$BODY" -H "Content-Type: application/json" -u$BINTRAY_USER:$BINTRAY_API_KEY $URL -s -w "%{http_code}" -o /dev/null); if [[ "$(echo $RESPONSE_CODE | head -c2)" != "20" ]]; then echo "Unable to create package version, HTTP response code: $RESPONSE_CODE"