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:
- Log into the
caribou
server using theage
user. - Enter the platform-trunk directory:
cd release-working-dir/platform-trunk
- Update the working directory:
svn update
- 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)
- Switch to the newly created maintenance branch:
svn switch https://caribou.iisg.agh.edu.pl/svn/age/jage/branches/releases/2.5.x
- Execute
mvn release:prepare
- when asked, choose the default versions (just press ENTER)
- Execute
mvn release:perform
- Execute
mvn release:clean
- 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:
- Log into the
caribou
server using theage
user. - Enter the platform-trunk directory:
cd release-working-dir/platform-trunk
- Update the working directory:
svn update
- Switch to the maintenance branch:
svn switch https://caribou.iisg.agh.edu.pl/svn/age/jage/branches/releases/2.5.x
- Execute
mvn release:prepare
- when asked, choose the default versions (just press ENTER)
- Execute
mvn release:perform
- Execute
mvn release:clean
- Switch back to trunk:
svn switch https://caribou.iisg.agh.edu.pl/svn/age/jage/trunk