[asterisk-commits] pabelanger: testsuite/bamboo/trunk r3062 - /bamboo/trunk/bin/ppa_script.sh

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 21 15:52:58 CST 2012


Author: pabelanger
Date: Tue Feb 21 15:52:55 2012
New Revision: 3062

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3062
Log:
lets be smarter about upload the .orig.tar.gz

Modified:
    bamboo/trunk/bin/ppa_script.sh

Modified: bamboo/trunk/bin/ppa_script.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/ppa_script.sh?view=diff&rev=3062&r1=3061&r2=3062
==============================================================================
--- bamboo/trunk/bin/ppa_script.sh (original)
+++ bamboo/trunk/bin/ppa_script.sh Tue Feb 21 15:52:55 2012
@@ -1,4 +1,6 @@
 #!/bin/bash
+
+set -e
 
 BUILD_AREA=build-area
 TARBALLS=tarballs
@@ -26,10 +28,17 @@
 export DEBEMAIL="packages at asterisk.org"
 export GPGKEY=175E41DF
 
+count=0
 for series in $SERIES; do
+	sign = "-sd"
+	if [ "${count}" == 0 ]; then
+		sign = "-sa"
+		count = 1
+	fi
 	dch -b --force-distribution --v "${PKGVERSION,,}-1~ppa1~${series}" "Automated PPA build." -D ${series}
-	svn-buildpackage -S -sa --svn-ignore-new --svn-builder=debuild --svn-noautodch
+	svn-buildpackage -S ${sign} --svn-ignore-new --svn-builder=debuild --svn-noautodch
+
+	dput --force ${PPA} "../${BUILD_AREA}/asterisk_${NOEPOCH_PKGVERSION,,}-1~ppa1~${series}_source.changes"
+
 	svn revert -R .
 done
-
-dput --force ${PPA} "../${BUILD_AREA}/asterisk_*_source.changes"




More information about the asterisk-commits mailing list