Skip to content

Instantly share code, notes, and snippets.

@sabadow
Last active December 19, 2015 18:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sabadow/5998086 to your computer and use it in GitHub Desktop.
Save sabadow/5998086 to your computer and use it in GitHub Desktop.
Create a release (based on robovm project)
  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment