Skip to content

Commit

Permalink
Publish gradle plugin as part of upload-release script
Browse files Browse the repository at this point in the history
  • Loading branch information
joelittlejohn committed Feb 17, 2023
1 parent 8aa4e89 commit f1b4ef2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions jsonschema2pojo-upload-release
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit f1b4ef2

Please sign in to comment.