-
Notifications
You must be signed in to change notification settings - Fork 6
Releasing
Marc Philipp edited this page Feb 15, 2015
·
35 revisions
- Maven 3
- Ant 1.8.2
- Subversion 1.6
- Git
- 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 your Subversion client is newer than the one used by Ant runsvn upgradeto upgrade the working copy and then callsvn 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)
- Go to
org.projectusus.updatesite-latestand runmvn clean install. This will create a ZIP calledorg.projectusus.updatesite-latest-0.7.5-SNAPSHOT.zipin the target folder. - Rename the file to
org.projectusus.updatesite-latest-A.B.C.zip(replaceA.B.Cwith the real version number). - Create a new release on GitHub for the previously created tag.
- Upload
org.projectusus.updatesite-latest-A.B.C.zip.
- Update the version in the Eclipse Marketplace.
- Send a tweet!
- 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!