lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "HowToRelease2" by Mark Miller
Date Sat, 05 Mar 2011 19:14:14 GMT
Dear Wiki user,

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

The "HowToRelease2" page has been changed by Mark Miller.


New page:
This page is to help a Solr committer create a new release. It does not reflect official release
policy - many of the items may be optional, or may be modified as necessary.



= Making a release =

 1. If this is the first release in a series (i.e. release X.Y.0), then create a branch for
the series:

svn copy \ -m "Starting Solr X.Y branch."

 1. Check out the branch: 
svn co \
 || {i} ||Note: at the moment releases need to be done on a unix box or in a cygwin environment
with unix linefeeds, because fixcrlf is only   done on the sources in the zip artifact.||

 1. Update the version numbers in common-build.xml on the branch:
  a. specversion should be set to X.Y.M.${dateversion}.
  a. version should be set to X.Y.N-dev.
  a. maven_version should be set to X.Y.N-SNAPSHOT.
  Where X.Y.M is the current release and X.Y.N is the next release.

 1. On the branch:
ant -Dversion=X.Y.M -Dspecversion=X.Y.M -Dmaven_version=X.Y.M clean test

 1. Produce one or more release candidates.  
 || {i} ||Note: 3 +1 Lucene PMC votes are technically needed for a release, although Solr
considers all votes equally. (see [[|voting]]).||

ant -Dversion=X.Y.M -Dspecversion=X.Y.M -Dmaven_version=X.Y.M prepare-release 

 1. Upload dist/solr.tar to your public staging space on people.a.o.and send an email to solr-dev@
calling the vote.

 1. Tag the release:

svn copy \ -m "Solr X.Y.M release."

 1. Copy release files to the distribution directory.
scp -p dist/apache-solr-X.Y.M.tar.gz*
scp -p dist/*
 1. Copy the Maven artifacts to the distribution directory (follow the existing directory
structure), to have them pushed to the central Maven repositories:
cp -R PATH_TO_ARTIFACTS/maven/org/apache/solr /www/

 1. Ensure that the most current keys file is on the distribution site:
scp -p KEYS

 1. Send announcements to the, solr-user@, solr-dev@, and general@ lucene
mailing lists. See the [[Sample Announcement]].

View raw message