AgE 2.4 : Making a release

Making a release

Releases should be conform with AgE versioning policy. That can be easily achieved using the maven-release-plugin.

Major/minor releases

In order to make a major/minor release (e.g. 2.5.0), follow these steps:

  1. Log into the caribou server using the age user.
  2. Enter the platform-trunk directory: cd release-working-dir/platform-trunk
  3. Update the working directory: svn update
  4. Execute mvn release:branch -DbranchName=2.5.x
    • when asked, enter the next development version (e.g. 2.6.0-SNAPSHOT or 3.0.0-SNAPSHOT)
  5. Switch to the newly created maintenance branch: svn switch https://caribou.iisg.agh.edu.pl/svn/age/jage/branches/releases/2.5.x
  6. Execute mvn release:prepare
    • when asked, choose the default versions (just press ENTER)
  7. Execute mvn release:perform
  8. Execute mvn release:clean
  9. Switch back to trunk: svn switch https://caribou.iisg.agh.edu.pl/svn/age/jage/trunk

Patch releases

In order to make a patch release (e.g. 2.5.1), follow these steps:

  1. Log into the caribou server using the age user.
  2. Enter the platform-trunk directory: cd release-working-dir/platform-trunk
  3. Update the working directory: svn update
  4. Switch to the maintenance branch: svn switch https://caribou.iisg.agh.edu.pl/svn/age/jage/branches/releases/2.5.x
  5. Execute mvn release:prepare
    • when asked, choose the default versions (just press ENTER)
  6. Execute mvn release:perform
  7. Execute mvn release:clean
  8. Switch back to trunk: svn switch https://caribou.iisg.agh.edu.pl/svn/age/jage/trunk