You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2013/01/30 19:03:41 UTC

svn commit: r1440565 - /qpid/proton/trunk/bin/release.sh

Author: mcpierce
Date: Wed Jan 30 18:03:41 2013
New Revision: 1440565

URL: http://svn.apache.org/viewvc?rev=1440565&view=rev
Log:
PROTON-208: Creates an upstream Perl tarball for Proton.

Bundles together the contents of the proton-c/bindings/perl directory to
be used for generating the Perl language bindings.

Modified:
    qpid/proton/trunk/bin/release.sh

Modified: qpid/proton/trunk/bin/release.sh
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/bin/release.sh?rev=1440565&r1=1440564&r2=1440565&view=diff
==============================================================================
--- qpid/proton/trunk/bin/release.sh (original)
+++ qpid/proton/trunk/bin/release.sh Wed Jan 30 18:03:41 2013
@@ -150,3 +150,23 @@ EOF
       --exclude=.gitignore
 )
 
+##
+## Create the Perl tarball
+##
+rootname="perl-qpid_proton-${VERSION}"
+WORKDIR=$(mktemp -d)
+mkdir -p "${WORKDIR}"
+(
+    cd ${WORKDIR}
+    svn export -qr ${REVISION} ${URL}/${BRANCH}/proton-c/bindings/perl ${rootname}
+
+    cat <<EOF > ${rootname}/SVN_INFO
+Repo: ${URL}
+Branch: ${BRANCH}
+Revision: ${REVISION}
+EOF
+
+tar zcf ${CURRDIR}/${rootname}.tar.gz ${rootname} \
+    --exclude=CMakeLists.txt \
+    --exclude=.gitignore
+)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org