You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/05/29 21:24:28 UTC
[Solr Wiki] Update of "HowToRelease" by HossMan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by HossMan:
http://wiki.apache.org/solr/HowToRelease
------------------------------------------------------------------------------
1. Update the version numbers in build.xml:
* {{{specversion}}} should be set to `X.Y.M.${dateversion}`, where X.Y.M is the release being made.
* {{{version}}} should be set to `X.Y.N-dev`, where N is one greater than the release being made.
- 1. Commit build.xml.
- 1. Run unit tests.
- {{{ant clean test}}}
+ 1. Compile the code and run unit tests.
+ {{{ant -Dversion=X.Y.M -Dspecversion=X.Y.M clean test}}}
+ 1. Regenerate the "site" docs per ["Website Update HOWTO"] so the documentation included with this release will reflect the correct version number (at the moment, this is specific to the tutorial)
+ 1. Commit the build.xml and documentation changes from the previous few steps.
- 1. Build the release.
+ 1. Build the release.
{{{ant -Dversion=X.Y.M -Dspecversion=X.Y.M package}}}
- 1. Check that release tgz/zip release files looks ok - e.g. uncompress them, run example, ensure that the javadocs are readable, etc...
+ 1. Check that release tgz/zip files looks ok - e.g. uncompress them, run example, work through the steps of the tutorial, ensure that the javadocs are readable, etc...
1. Tag the release: {{{
svn copy https://svn.apache.org/repos/asf/lucene/solr/branches/branch-X.Y \
https://svn.apache.org/repos/asf/lucene/solr/tags/release-X.Y.M -m "Solr X.Y.M release."