Created
May 1, 2012 17:22
-
-
Save jef-n/2569800 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export [email protected] | |
export DEBFULLNAME="Jürgen E. Fischer" | |
export PPA=${1:-qgis-unstable-ubuntugis-jef} | |
export T=$(mktemp) | |
cp debian/changelog $T | |
trap "cp $T debian/changelog && rm -f $T" EXIT | |
DISTS=${DISTS:-"lucid maverick natty oneiric precise"} | |
O=${O:-"-sa"} | |
for dist in $DISTS; do | |
if [ -f $T ]; then | |
cp -a $T debian/changelog | |
fi | |
dch -p --force-distribution -D $dist -l "~$dist" "launchpad build for $dist" | |
head debian/changelog | |
dpkg-buildpackage -k5E444875 --source-option="-sp" $O -S -I.git -i\.git | |
O="-sd" | |
debrelease --dput -S $PPA | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment