- Create release branch:
git branch rb-<version>
- Update the master branch to the next -SNAPSHOT version:
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<version+1>-SNAPSHOT
git commit -s -a -m 'Changed version to <version+1>-SNAPSHOT'
git push
- Create the release tag:
git checkout rb-<version>
mvn release:update-versions -DautoVersionSubmodules=true
git commit -s -a -m 'Updated version for release <version>'
git tag robovm-<version>
git push origin robovm-<version>
- Delete the release branch:
git checkout master
git branch -D rb-<version>
Original source: https://github.com/robovm/robovm/wiki/Performing-a-release