git branch {branchname} #e.g 7.7.x
git push --set-upstream origin {branchname}
git branch set_next_version_in_master_{next_version} #e.g 7.8.0-SNAPSHOT
mvn versions:set versions:commit -DnewVersion=${next_version}
git commit
git push --set-upstream origin set_next_version_in_master_{next_version}
- Create Pull Request
git checkout release
git merge -X theirs {branchname}
git push -f
https://oss.sonatype.org/#stagingRepositories
Note: For bugfix release procedure will be similar except creating new branch on first step and update version in master branch
make-release.sh
is a script that performs these actions (currently from 1 to 3, only leaving the releasing on Nexus for manual use)