You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by cu...@apache.org on 2012/06/28 15:03:54 UTC

svn commit: r1354998 - /aries/scripts/verify_staged_release.sh

Author: cumminsh
Date: Thu Jun 28 13:03:53 2012
New Revision: 1354998

URL: http://svn.apache.org/viewvc?rev=1354998&view=rev
Log:
Release verification script improvements

Modified:
    aries/scripts/verify_staged_release.sh

Modified: aries/scripts/verify_staged_release.sh
URL: http://svn.apache.org/viewvc/aries/scripts/verify_staged_release.sh?rev=1354998&r1=1354997&r2=1354998&view=diff
==============================================================================
--- aries/scripts/verify_staged_release.sh (original)
+++ aries/scripts/verify_staged_release.sh Thu Jun 28 13:03:53 2012
@@ -65,16 +65,19 @@ do     
 done
 
 
+rm -rf ${DOWNLOAD}/${STAGING}-unzips
 mkdir ${DOWNLOAD}/${STAGING}-unzips
 
 for i in `find ${DOWNLOAD}/${STAGING} -name *-source-release.zip`
 do
-	unzip -o -d ${DOWNLOAD}/${STAGING}-unzips $i
+        cd ${DOWNLOAD}/${STAGING}-unzips/
+	echo Unzipping $i into `pwd`
+	unzip ../../$i 
 	echo **************************
 	echo Building ${i/-source-release.zip/}
 	echo **************************
 
-	cd ${DOWNLOAD}/${STAGING}-unzips/`basename ${i/-source-release.zip/}`
+	cd `basename ${i/-source-release.zip/}`
 	mvn clean install
 
 	echo **************************
@@ -90,7 +93,7 @@ do
 	echo RAT results:
 	echo ${ratresults/!/RAT FAILURE:}
 
-	cd ..
+	cd ../../..
 	
 done