Use the following to create a release and deploy it:
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.incrementalVersion} versions:commit
./mvnw clean deploy jreleaser:assemble -Prelease
./mvnw jreleaser:full-release -Djreleaser.dry.run
git commit -am "Prepare for release"
git push
./mvnw jreleaser:full-release
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit
git commit -am "Prepare for next development iteration"
git push