diff --git a/jsonschema2pojo-upload-release b/jsonschema2pojo-upload-release index 04cbc14fc..8fdb97904 100755 --- a/jsonschema2pojo-upload-release +++ b/jsonschema2pojo-upload-release @@ -136,6 +136,12 @@ pushd $WORKING_DIR git add . git commit -m "[release] updating README.md for $VERSION" git push origin master + + # publish gradle plugin to plugins.gradle.org + pushd jsonschema2pojo-gradle-plugin + git checkout jsonschema2pojo-$VERSION + ./gradlew -Pversion=$VERSION publishPlugins + popd popd fi @@ -155,6 +161,9 @@ pushd $WORKING_DIR RELEASE_PAGE=$(echo $RELEASE | jq -r .html_url) popd +pushd + + rm -rf $WORKING_DIR echo Release complete. Next steps: