-
Notifications
You must be signed in to change notification settings - Fork 6
Releasing
Nicole Rauch edited this page Aug 26, 2013
·
35 revisions
- Maven 3
- Ant 1.8.2
- Subversion 1.6
- Check the Release Notes (in
org.projectusus.documentation/Release Notes). Complete them if required. Commit & push. - Determine the version number to release.
You can look at the parent POM if you are unsure. If it says0.7.3-SNAPSHOTthe version number will most likely be0.7.3. - Create and push a git tag for the version, name it
vA.B.C(replaceA.B.Cwith the real version number):git tag -a vA.B.C -m "tag vA.B.C" - In the repository root directory, execute
mvn clean install.
If some tests fail when run in Maven that work in Eclipse, blame Maven Tycho and runmvn clean install -DskipTests. - Change into
org.projectusus.updatesiteand executeant merge. - Change into
org.projectusus.updatesite/svnand executesvn status. - If everything looks good (i.e. plugins and features with the correct version number have been added), execute
svn commit -m "Release A.B.C"(replaceA.B.Cwith the real version number). (login: same as google account, password: see https://code.google.com/hosting/settings) - Decide which version number the next release should have.
Normally, this is simply done by incrementing the last part of the version number by one. - Go back to
org.projectusus.updatesiteand runant increment-versions -Dnew.version=A.B.D(replaceA.B.Dwith the number of the next version you are going to work on). - Commit and push the changed files to git:
git commit -a -m "Release A.B.C"; git push origin master - Celebrate!