Use the following commands to stage and publish a new release.
Example version: 1.3.4
./tools/release.sh 1.3.4mvn versions:set -DnewVersion=1.3.4
mvn versions:commitgit commit -am "Release 1.3.4"
git tag v1.3.4mvn -Prelease deploygit push
git push --tagsmvn versions:set -DnewVersion=1.3.5-SNAPSHOT
mvn versions:commit
git commit -am "Start 1.3.5-SNAPSHOT"
git pushNavigate to Deployments on Maven Central Repository, and verify the deploment has been published.