You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by th...@apache.org on 2011/06/05 21:52:02 UTC

svn commit: r1132485 - /river/site/trunk/content/building-a-release.mdtext

Author: thobbs
Date: Sun Jun  5 19:52:02 2011
New Revision: 1132485

URL: http://svn.apache.org/viewvc?rev=1132485&view=rev
Log:
Forgot to commit my previous edits:
- Added place holders for KEYS file and Jira release notes
- Added detail on building a release

Modified:
    river/site/trunk/content/building-a-release.mdtext

Modified: river/site/trunk/content/building-a-release.mdtext
URL: http://svn.apache.org/viewvc/river/site/trunk/content/building-a-release.mdtext?rev=1132485&r1=1132484&r2=1132485&view=diff
==============================================================================
--- river/site/trunk/content/building-a-release.mdtext (original)
+++ river/site/trunk/content/building-a-release.mdtext Sun Jun  5 19:52:02 2011
@@ -20,29 +20,66 @@ Notice:    Licensed to the Apache Softwa
 
 n.m n = major release number, m = minor release number
 
+
+## KEYS file
+
+Add your key to the KEYS file in the repo
+
+## Checkout The Source
+
+    svn checkout https://svn.apache.org/repos/asf/river/jtsk/trunk river
+
 ## Pre release checks
 
  * River-trunk should run successful.
  * River-verify should run successful. (not yet?)
 
-## Tag the release
+## Branch the repository
+
+    svn cp https://svn.apache.org/repos/asf/river/jtsk/trunk https://svn.apache.org/repos/asf/river/jtsk/branches/$VERSION
+
+## Tag the repository
 
- * create the tag with the .0 label in ./tags/
+    svn cp https://svn.apache.org/repos/asf/river/jtsk/trunk https://svn.apache.org/repos/asf/river/jtsk/tags/$VERSION
 
-## Checkout the branch
+## Gather Release Notes From Jira
 
-    svn co http://.../branch/<n.m>
+...
 
 ## Build the release products
 
-    ant -Dversion=n.m clean release
+    ant -Dversion=$VERSION clean release
 
-## Upload the release
+## Rat Reports
 
-    scp ... ...
+    ./rat_reports.sh
 
 ## Sign the release
 
+  - [General Apache Signing Details][1]
+  - [Release Signing Instructions][2] *See code below, link has a typo in it
+  - [Checksum Instructions][3]
+
+    cd dist
+    for f in $( ls ); do
+    	gpg --armor --output $f.asc --detach-sign $f
+    	gpg --print-md SHA512 $f > $f.sha
+    done;
+
+## Test the release
+
+    cp dist/apache-river-$VERSION.tar.gz $SOMEWHERE_ELSE
+    cd $SOMEWHERE_ELSE
+    tar xvf apache-river-$VERSION.tar.gz
+    cd apache-river-$VERSION
+    ant build
+
+## Upload the release
+
+    scp RAT* username@people.apache.org:~/public_html/river/
+    cd dist
+    scp * username@people.apache.org:~/public_html/river/
+
 ## Allow the community to evaluate the release products
 
     * announce availability of candidate on river-dev.
@@ -52,4 +89,9 @@ n.m n = major release number, m = minor 
  * checkout the site 
  * Extract the javadocs from the release archive into ...
  * commit
- * go to the CMS webclient, and publish the site.
\ No newline at end of file
+ * go to the CMS webclient, and publish the site.
+
+
+  [1]: http://www.apache.org/dev/release-signing.htm
+  [2]: http://www.apache.org/dev/release-signing.html#sign-release
+  [3]: http://www.apache.org/dev/release-signing.html#sha-checksum
\ No newline at end of file