This page is here just to remind the despots what to do to put out a release. It’s also here to embarrass us into automating as much of it as we can, because it’s really dull doing a release!
Release IDEA plugin
- Fire up IDEA using a 1.5 JDK
IDEA_JDK=/path/to/jdk1.5 /path/to/idea.sh
- In IDEA, open the project file in
$JBEHAVE/plugins/intellij - Set project compiler to IDEA SDK (pointing at your IDEA installation)
- If necessary, add
idea.jarto IDEA SDK libs - Right-click on the project and select “Prepare Plugin Module for Deployment”
- Login to http://plugins.intellij.net and upload the new version of the plugin
- The only thing that seems not to be defaulted correctly is the license url, which should be http://jbehave.org/software/project-license/
Release Eclipse plugin
- Open
$JBEHAVE/plugins/eclipse/.projectin a new workspace - in
MANIFEST.MFupdate the plugin version - in
feature.xmloverview tab, update the feature version - Delete any existing jars under
eclipse-site - in
site.xml, update version numbers in the text file wherever you see them. - Close and reopen the
site.xmlfile (the editor seems a bit flaky). - In
site.xmlSite Map tab, click on Build All - Sync
eclipse-siteover webdav to https://dav.codehaus.org/dist/jbehave/eclipse-site/
Release binaries
- Run
ant -Dversion=x.y.z dist(creates jars, source zip and javadocs) - Sync binaries over webdav to https://dav.codehaus.org/dist/jbehave/x.y.z
- sync javadoc over webdav to https://dav.codehaus.org/jbehave/javadoc/x.y.z
Update the website
- Put an announcement on http://jbehave.org/
- Update the links on http://jbehave.org/software/download/
- Update the “Latest javadoc” link on http://jbehave.org/documentation/
Tag the release
- svn cp https://svn.codehaus.org/jbehave/trunk https://svn.codehaus.org/jbehave/releases/x.y.z
Have a nice cup of tea
- and think about how this could be made easier
