jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1358261 - /jackrabbit/commons/ocm/trunk/check-release.sh
Date Fri, 06 Jul 2012 15:24:29 GMT
Author: ard
Date: Fri Jul  6 15:24:29 2012
New Revision: 1358261

URL: http://svn.apache.org/viewvc?rev=1358261&view=rev
Log:
OCM-61 Add automation check-release.sh script

Added:
    jackrabbit/commons/ocm/trunk/check-release.sh
      - copied, changed from r1341829, jackrabbit/tags/2.4.1/check-release.sh

Copied: jackrabbit/commons/ocm/trunk/check-release.sh (from r1341829, jackrabbit/tags/2.4.1/check-release.sh)
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/check-release.sh?p2=jackrabbit/commons/ocm/trunk/check-release.sh&p1=jackrabbit/tags/2.4.1/check-release.sh&r1=1341829&r2=1358261&rev=1358261&view=diff
==============================================================================
--- jackrabbit/tags/2.4.1/check-release.sh (original)
+++ jackrabbit/commons/ocm/trunk/check-release.sh Fri Jul  6 15:24:29 2012
@@ -27,9 +27,9 @@ then
  exit
 fi
 
-STAGING="http://people.apache.org/~$USERNAME/jackrabbit/$VERSION/"
+STAGING="http://people.apache.org/~$USERNAME/ocm/$VERSION/"
 
-WORKDIR=${4:-target/jackrabbit-staging-`date +%s`}
+WORKDIR=${4:-target/jackrabbit-ocm-staging-`date +%s`}
 mkdir $WORKDIR -p -v
 
 echo "[INFO] ------------------------------------------------------------------------"
@@ -51,7 +51,7 @@ echo "[INFO] "
 
 ## 1. check sha from release email against src.zip.sha file
 
-downloaded_sha=$(cat `find $WORKDIR -type f | grep jackrabbit-$VERSION-src.zip.sha`)
+downloaded_sha=$(cat `find $WORKDIR -type f | grep jackrabbit-ocm-$VERSION-source-release.zip.sha1`)
 if [ "$SHA" = "$downloaded_sha" ]; then echo "[INFO] Step 1. Release checksum matches provided
checksum."; else echo "[ERROR] Step 1. Release checksum does not match provided checksum!";
fi
 echo "[INFO] "
 
@@ -86,13 +86,13 @@ echo "[INFO] "
 echo "[INFO] Step 3. Check SVN Tag for version $VERSION with src zip file contents"
 
 echo "[INFO] doing svn checkout, please wait..."
-SVNTAGDIR="$WORKDIR/tag-svn/jackrabbit-$VERSION"
-svn --quiet export http://svn.apache.org/repos/asf/jackrabbit/tags/$VERSION $SVNTAGDIR
+SVNTAGDIR="$WORKDIR/tag-svn/jackrabbit-ocm-$VERSION"
+svn --quiet export http://svn.apache.org/repos/asf/jackrabbit/commons/ocm/tags/jackrabbit-ocm-$VERSION
$SVNTAGDIR
 
 echo "[INFO] unzipping src zip file, please wait..."
 ZIPTAG="$WORKDIR/tag-zip"
-unzip -q $WORKDIR/jackrabbit-$VERSION-src.zip -d $ZIPTAG
-ZIPTAGDIR="$ZIPTAG/jackrabbit-$VERSION"
+unzip -q $WORKDIR/jackrabbit-ocm-$VERSION-source-release.zip -d $ZIPTAG
+ZIPTAGDIR="$ZIPTAG/jackrabbit-ocm-$VERSION"
 
 DIFFOUT=`diff -r $SVNTAGDIR $ZIPTAGDIR`
 if [ -n "$DIFFOUT" ]



Mime
View raw message