dev/debian-build/dbuild_release
author David Douard <david.douard@logilab.fr>
Mon, 03 Nov 2014 11:12:45 +0100
changeset 372 80f78674c56e
parent 336 5874d49da474
permissions -rwxr-xr-x
Add support for phases This adds a "publish" permission level (between "init" and "write") required to be able to change the phase of a changeset from "draft" to "public". Update documentation accordingly. This is meant to be used for using the changeset evolution feature of mercurial, see http://evolution.experimentalworks.net/doc/

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