Skip to content

Releasing a new Version

João Carvalho edited this page Jun 17, 2013 · 3 revisions

Releases of the Fenix Framework follow the Git Flow model, with the help of the Maven Release Plugin.

Releases are to be done in a Release Branch, as per defined in the Git Flow model.

Releasing

To perform a release, the following steps are necessary:

  1. Ensure you are working on your release branch.
  • Ensure all your changes are committed and all the tests are passing
  • Run mvn release:prepare. This will ask you for three properties:
    • Release version: The version you wish to release (Eg: 2.1.0)
    • Tag Name: The Git tag corresponding to the version (The plugin is already configured to use the tag naming conventions)
    • New development version: The next SNAPSHOT version (Eg: 2.2.0-SNAPSHOT)
  • Maven Release Plugin will now bump the POMs to the release version, run the tests, and perform a commit with the change. Then, another commit will be done, bumping the POMs to the next SNAPSHOT version.
  • Push your changes to the remove release branch, with git push and git push --tags
  • Deploy the release to Nexus using mvn source:jar deploy
  • Merge this branch up to the Release commit with the master branch
  • Merge this branch with the develop branch

DSI Releaser

As an alternative, you can use DSI Releaser.

Clone this wiki locally