dev/debian-build/dbuild_release
author Paul Crowley <paul@lshift.net>
Fri, 24 Aug 2012 13:49:55 +0100
changeset 365 f2e13e08ea13
parent 336 5874d49da474
permissions -rwxr-xr-x
Make it convenient to run the tests with new env vars in sudo

#!/bin/sh

set -e

cd $(hg root)

echo "FIXME: address tagging and diffing issues before using in anger"
exit 255
# TODO here:
# ensure appropriate tags release_X and debian_X-Y exist
# ensure that we are identical to debian_X-Y ignoring certain files
# ensure that we are identical to release_X ignoring certain files

DPKG_BUILDPACKAGE_OPTIONS=-kFD56DDC0

. dev/debian-build/dbuild

sudo pbuilder --build ${PACKAGE}_${DEBIAN_VERSION}.dsc