You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2010/03/22 23:19:10 UTC

[Hadoop Wiki] Update of "HowToRelease" by ChrisDouglas

Dear Wiki user,

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

The "HowToRelease" page has been changed by ChrisDouglas.
http://wiki.apache.org/hadoop/HowToRelease?action=diff&rev1=56&rev2=57

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

  = Preparation =
  
          1. Bulk update Jira to unassign from this release all issues that are open non-blockers and send follow-up notification to the developer list that this was done.
+ 	1. If you have not already done so, add and commit your public key to the Hadoop repository [[http://svn.apache.org/repos/asf/hadoop/common/dist/KEYS|KEYS]], appending the output of the following commands:{{{
+ gpg --armor --fingerprint --list-sigs <keyid>
+ gpg --armor --export <keyid>
+ }}} and publish your key at [[http://pgp.mit.edu/]]. Once you commit your changes, log into {{{people.apache.org}}} and pull updates to {{{/www/www.apache.org/dist/hadoop/core}}}. For more details on signing releases, see [[http://www.apache.org/dev/release-signing.html|Signing Releases]] and [[http://www.apache.org/dev/mirror-step-by-step.html?Step-By-Step|Step-By-Step Guide to Mirroring Releases]].
+ 	1. To deploy artifacts to the Apache Maven repository create {{{~/.m2/settings.xml}}}:{{{
+ <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
+                       http://maven.apache.org/xsd/settings-1.0.0.xsd">
+   <servers>
+     <server>
+      <id>apache.staging.https</id>
+      <username>Apache username</username>
+      <password>Apache password</password>
+     </server>
+   </servers>
+ </settings>
+ }}}
  
  = Branching =
  
@@ -52, +70 @@

  https://svn.apache.org/repos/asf/hadoop/common/tags/release-X.Y.Z-rcR -m "Hadoop X.Y.Z-rcR release."
  }}}
  
- 
  = Build Requirements =
  
  To build an official release, you must:
@@ -79, +96 @@

          1. Generate the MD5 checksum of the release file. {{{
  md5sum hadoop-X.Y.Z.tar.gz > hadoop-X.Y.Z.tar.gz.md5
  }}}
- 	1. Sign the release (see [[http://www.apache.org/dev/mirror-step-by-step.html?Step-By-Step|Step-By-Step Guide to Mirroring Releases]] for more information). {{{
+ 	1. Sign the release {{{
  gpg --armor --output hadoop-X.Y.Z.tar.gz.asc --detach-sig hadoop-X.Y.Z.tar.gz
  }}}
  	1. Copy release files to a public place. {{{
  ssh people.apache.org mkdir public_html/hadoop-X.Y.Z-candidate-0
  scp -p hadoop-X.Y.Z.tar.gz* people.apache.org:public_html/hadoop-X.Y.Z-candidate-0
  }}}
+ 	1. Stage the release candidate to the maven repository: {{{
+ ant -Dversion=X.Y.Z -Drepo=staging mvn-deploy
+ }}}
+ 	1. Log into [[https://repository.apache.org|Nexus]], select {{{Staging}}} from the left navigation pane, right-click on the pushed repository, and {{{close}}} the release.
          1. Call a release vote on common-dev at hadoop.apache.org.
  
  = Publishing =
@@ -108, +129 @@

  rm -rf hadoop-A.B.C; rm stable
  ln -s hadoop-A.B.D stable
  }}}
+ 	1. In [[https://repository.apache.org|Nexus]], effect the release of artifacts by right-clicking the staged repository and select {{{promote}}}
  	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/common/site