dev/debian-build/dbuild_release
author Mahlon E. Smith <mahlon@martini.nu>
Wed, 31 Oct 2018 13:22:13 -0700 (2018-10-31)
changeset 378 a788cfad4cfa
parent 336 5874d49da474
permissions -rwxr-xr-x
Merge 7a1d6b228af6
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