aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cummi...@apache.org
Subject svn commit: r1354998 - /aries/scripts/verify_staged_release.sh
Date Thu, 28 Jun 2012 13:03:54 GMT
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
 



Mime
View raw message