dev/debian-build/dbuild_release
author David Douard <david.douard@logilab.fr>
Wed, 05 Mar 2014 12:16:46 +0100
changeset 373 a286d6c6b19c
parent 336 5874d49da474
permissions -rwxr-xr-x
Log phase transitions (draft->public) Ensure phase transitions are logged in the mercurial-server.log file

#!/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