You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by gn...@apache.org on 2016/10/18 08:37:04 UTC

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

Author: gnodet
Date: Tue Oct 18 08:37:03 2016
New Revision: 1765400

URL: http://svn.apache.org/viewvc?rev=1765400&view=rev
Log:
Fix verification script

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=1765400&r1=1765399&r2=1765400&view=diff
==============================================================================
--- aries/scripts/verify_staged_release.sh (original)
+++ aries/scripts/verify_staged_release.sh Tue Oct 18 08:37:03 2016
@@ -38,7 +38,7 @@ else
 	echo "${DOWNLOAD}/${STAGING}"
 fi
 
-for i in `find ${DOWNLOAD}/${STAGING} -type f | egrep -v '.md5$|.sha1$|index.html|maven-metadata.xml'`
+for i in `find ${DOWNLOAD}/${STAGING} -type f | egrep -v '.asc$|.md5$|.sha1$|index.html|maven-metadata.xml'`
 do     
 	mymd5=`openssl md5 $i |cut -f 2 -d=`
 	repomd5=`cat $i.md5`
@@ -48,7 +48,7 @@ do
 	fi
 done
 
-for i in `find ${DOWNLOAD}/${STAGING} -type f | egrep -v '.md5$|.sha1$|index.html|maven-metadata.xml'`
+for i in `find ${DOWNLOAD}/${STAGING} -type f | egrep -v '.asc$|.md5$|.sha1$|index.html|maven-metadata.xml'`
 do  
 	mysha1=`openssl sha1 $i|cut -f 2 -d=`
 	reposha1=`cat $i.sha1`
@@ -58,7 +58,7 @@ do
 	fi
 done
 
-for i in `find ${DOWNLOAD}/${STAGING} -type f | egrep '.asc$'`
+for i in `find ${DOWNLOAD}/${STAGING} -type f | egrep '.asc$' | egrep -v '.asc.asc$'`
 do     
 	gpgoutput=`gpg $i`
 	echo ${gpgoutput/BAD/FAILURE: BAD}