Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "Avro/HowToRelease" page has been changed by JeffHodges. The comment on this change is: urls pointing to (missing) incubated avro are now pointing to the top-level. http://wiki.apache.org/hadoop/Avro/HowToRelease?action=diff&rev1=16&rev2=17 -------------------------------------------------- svn commit -m "Preparing for release X.Y.Z" }}} 1. Create a branch for the release series: {{{ - svn copy https://svn.apache.org/repos/asf/hadoop/avro/trunk \ + svn copy https://svn.apache.org/repos/asf/avro/trunk \ - https://svn.apache.org/repos/asf/hadoop/avro/branches/branch-X.Y -m "Branching for X.Y releases" + https://svn.apache.org/repos/asf/avro/branches/branch-X.Y -m "Branching for X.Y releases" }}} 1. Update {{{CHANGES.txt}}} to add back in {{{Trunk (unreleased changes)}}}. 1. Update the default version in {{{share/VERSION.txt}}} on trunk to X.Y+1.0-SNAPSHOT. @@ -27, +27 @@ These operations take place in the release branch. 1. Check out the branch with: {{{ - svn co https://svn.apache.org/repos/asf/hadoop/avro/branches/branch-X.Y + svn co https://svn.apache.org/repos/asf/avro/branches/branch-X.Y }}} 1. Update {{{CHANGES.txt}}} to include the release version and date (this change must be committed to trunk and any intermediate branches between trunk and the branch being released). 1. Update the version number in {{{share/VERSION.txt}}} to be ''avro-X.Y.Z''. @@ -40, +40 @@ svn commit -m "Merge -r R1:R2 from trunk to X.Y branch. Fixes: AVRO-A, AVRO-B." }}} 1. Tag the release candidate (R is the release candidate number): {{{ - svn copy https://svn.apache.org/repos/asf/hadoop/avro/branches/branch-X.Y \ + svn copy https://svn.apache.org/repos/asf/avro/branches/branch-X.Y \ - https://svn.apache.org/repos/asf/hadoop/avro/tags/release-X.Y.Z-rcR -m "Avro X.Y.Z-rcR release." + https://svn.apache.org/repos/asf/avro/tags/release-X.Y.Z-rcR -m "Avro X.Y.Z-rcR release." }}} = Building = @@ -63, +63 @@ Once [[http://www.apache.org/foundation/voting.html#ReleaseVotes|three PMC members have voted for a release]], it may be published. 1. Tag the release: {{{ - svn move https://svn.apache.org/repos/asf/hadoop/avro/tags/release-X.Y.Z-rcR \ + svn move https://svn.apache.org/repos/asf/avro/tags/release-X.Y.Z-rcR \ - https://svn.apache.org/repos/asf/hadoop/avro/tags/release-X.Y.Z -m "Avro X.Y.Z release." + https://svn.apache.org/repos/asf/avro/tags/release-X.Y.Z -m "Avro X.Y.Z release." }}} 1. Copy release files to the distribution directory and make them writable by the hadoop group. {{{ ssh people.apache.org - cp -pr public_html/avro-X.Y.Z-candidate-0 /www/www.apache.org/dist/hadoop/avro/avro-X.Y.Z + cp -pr public_html/avro-X.Y.Z-candidate-0 /www/www.apache.org/dist/avro/avro-X.Y.Z - cd /www/www.apache.org/dist/hadoop/avro + cd /www/www.apache.org/dist/avro chgrp -R hadoop avro-X.Y.Z chmod -R g+w avro-X.Y.Z }}} 1. The release directory usually contains just two releases, the most recent from two branches, with a link named 'stable' to the most recent recommended version. {{{ ssh people.apache.org - cd /www/www.apache.org/dist/hadoop/avro + cd /www/www.apache.org/dist/avro rm -rf avro-A.B.C; rm stable ln -s hadoop-A.B.D stable }}} 1. Publish Java artifacts to the Maven repository:{{{ ssh people.apache.org - mkdir /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/hadoop/avro/X.Y.Z + mkdir /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/avro/X.Y.Z - cd /www/www.apache.org/dist/hadoop/avro/avro-X.Y.Z/java + cd /www/www.apache.org/dist/avro/avro-X.Y.Z/java - cp -p avro-X.Y.Z{,-javadoc,-sources}.* /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/hadoop/avro/X.Y.Z + cp -p avro-X.Y.Z{,-javadoc,-sources}.* /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/avro/X.Y.Z }}} 1. Wait 24 hours for release to propagate to mirrors. 1. Prepare to edit the website. {{{ - svn co https://svn.apache.org/repos/asf/hadoop/avro/site + svn co https://svn.apache.org/repos/asf/avro/site }}} 1. Update the documentation links in {{{author/content/xdocs/site.xml}}}. 1. Update the release news in {{{author/content/xdocs/releases.xml}}}. @@ -103, +103 @@ }}} 1. Copy the new release docs to {{{people.apache.org:/www/hadoop.apache.org/avro/docs/rX.Y.Z}}} and update the {{{docs/current}}} link, by doing the following in your home directory on people.apache.org: {{{ ssh people.apache.org - tar xzf /www/www.apache.org/dist/hadoop/avro/avro-X.Y.Z/avro-doc-X.Y.Z.tar.gz + tar xzf /www/www.apache.org/dist/avro/avro-X.Y.Z/avro-doc-X.Y.Z.tar.gz chmod -R 775 avro-doc-X.Y.Z chgrp -R hadoop avro-doc-X.Y.Z cp -rp avro-doc-X.Y.Z /www/hadoop.apache.org/avro/docs/X.Y.Z
