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 2010/06/15 01:11:14 UTC

[Solr Wiki] Update of "HowToRelease" by Mark Miller

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "HowToRelease" page has been changed by Mark Miller.
http://wiki.apache.org/solr/HowToRelease?action=diff&rev1=59&rev2=60

--------------------------------------------------

   1. Update the version numbers in common-build.xml on the branch:
    * 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.
-   * maven_version should be the same as version for release but set to X.Y-SNAPSHOT for non-release.
+   * maven_version should be set to X.Y.N-SNAPSHOT, where N is one greater than the release being made.
   1. commit the changes to both trunk and branch
   1. On the branch, compile the code and run unit tests.
    . {{{ant -Dversion=X.Y.M -Dspecversion=X.Y.M -Dmaven_version=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. Produce one or more release candidates using the steps outlined here, up to the point of actually tagging the release and distributing it.  Ask on solr-dev (cc general@lucene.apache.org ) for reviewers of the release candidates.  When a consensus emerges, build the final release candidate and call a vote.  3 +1 Lucene PMC votes are technically needed for a release, although Solr considers all votes equally. (see [[http://www.apache.org/foundation/voting.html#ReleaseVotes|voting]]).
-   * {{{ant -Dversion=X.Y.M -Dspecversion=X.Y.M -Dmaven_version=X.Y.M prepare-release}}}
+   * {{{ant -Dversion=X.Y.M -Dspecversion=X.Y.M -Dmaven_version=X.Y.M prepare-release}}} - note that if your OS username is not the same as your Apache username, you may need to add a --username param to the svn call in build.xml target build-site eg <arg value="--username markrmiller"/>
    * 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...
    * Upload dist/solr.tar to your public staging space on people.a.o.and send an email to solr-dev@ calling the vote.