dev/debian-build/dbuild_release
author Paul Crowley <paul@lshift.net>
Thu, 23 Aug 2012 17:42:33 +0100
changeset 353 2d26d369f4ef
parent 336 5874d49da474
permissions -rwxr-xr-x
Update the Debian changelog
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
280
9a171c093f61 Add crazy dbuild script
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
#!/bin/sh
9a171c093f61 Add crazy dbuild script
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
9a171c093f61 Add crazy dbuild script
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
set -e
9a171c093f61 Add crazy dbuild script
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
336
5874d49da474 Disable dbuild_release and add TODO comments
Paul Crowley <paul@lshift.net>
parents: 335
diff changeset
     5
cd $(hg root)
335
0d15506351db Make dbuild_release call dbuild
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
     6
336
5874d49da474 Disable dbuild_release and add TODO comments
Paul Crowley <paul@lshift.net>
parents: 335
diff changeset
     7
echo "FIXME: address tagging and diffing issues before using in anger"
5874d49da474 Disable dbuild_release and add TODO comments
Paul Crowley <paul@lshift.net>
parents: 335
diff changeset
     8
exit 255
5874d49da474 Disable dbuild_release and add TODO comments
Paul Crowley <paul@lshift.net>
parents: 335
diff changeset
     9
# TODO here:
5874d49da474 Disable dbuild_release and add TODO comments
Paul Crowley <paul@lshift.net>
parents: 335
diff changeset
    10
# ensure appropriate tags release_X and debian_X-Y exist
5874d49da474 Disable dbuild_release and add TODO comments
Paul Crowley <paul@lshift.net>
parents: 335
diff changeset
    11
# ensure that we are identical to debian_X-Y ignoring certain files
5874d49da474 Disable dbuild_release and add TODO comments
Paul Crowley <paul@lshift.net>
parents: 335
diff changeset
    12
# ensure that we are identical to release_X ignoring certain files
5874d49da474 Disable dbuild_release and add TODO comments
Paul Crowley <paul@lshift.net>
parents: 335
diff changeset
    13
5874d49da474 Disable dbuild_release and add TODO comments
Paul Crowley <paul@lshift.net>
parents: 335
diff changeset
    14
DPKG_BUILDPACKAGE_OPTIONS=-kFD56DDC0
280
9a171c093f61 Add crazy dbuild script
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    15
335
0d15506351db Make dbuild_release call dbuild
Paul Crowley <paul@lshift.net>
parents: 314
diff changeset
    16
. dev/debian-build/dbuild
280
9a171c093f61 Add crazy dbuild script
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    17
314
c02eae7665af Fix white space
Paul Crowley <paul@lshift.net>
parents: 294
diff changeset
    18
sudo pbuilder --build ${PACKAGE}_${DEBIAN_VERSION}.dsc