aXSL: Release Mechanics
Contents
This page is a checklist of things that should be done for each code
release.
Before
- Make sure the build works with all interested implementations.
- Make any changes to the documentation that are needed to reflect the new
release, but don't update the web site yet.
- Update the release notes, but don't update the web site yet.
- Make sure svn:keywords is set to "Author Date Id Revision"
- Set the build script parameter "version" to the correct value.
- Lock the repository or at least make a note of the repository revision
number which should be tagged.
Build
- In addition to releasing the build through sourceforge, we now make aXSL modules available through the Maven
Central repository, using the Sonatype OSS Maven
Repository as the staging and deployment mechanism.
- Run the "distribution" target of the build script. The distributable
output should be in build/ant/distribution.
- Make sure the output contains a file "axsl-[version]-java.zip" where
"[version]" is the release version number.
Make sure this file contains the following:
- a "readme.txt" file in the root directory
- a "src/java/axsl-[version]-src.zip" file from the root directory
- a "lib" directory whose contents include the following:
- the built jar file: axsl-[version].jar
- the built dev jar file: axsl-dev-[version].jar
- the contents of the lib directory
- the axsl license file
- a "javadoc-api" directory containing the entire javadoc build.
After
- Tag the repository. The general form of the copy is: Copy From:
https://axsl.svn.sourceforge.net/svnroot/axsl/trunk Copy To:
https://axsl.svn.sourceforge.net/svnroot/axsl/tags/rel-0.2
- Unlock the repository, if it was locked above.
- Upload distribution file to sourceforge.
- Update the web site from the repository content.
- Set the build file property "version" to the next level, appended with
"-dev".
- Verify that the maven artifacts are available at the central repository (The Sonatype servers synchronize to maven
central hourly. The maven central index is updated each Saturday morning.)
- Post the distribution javadocs to the web site.
- Announce the release at:
- Send an email to the maintainer of the
W3C XSL page.
- the axsl-user mailing list
- Add "News" item to the SourceForge system announcing the release.
- Consider adding "News" item to the project home page.