dev/debian-build/dbuild_release
author Cédric Krier <ced@b2ck.com>
Fri, 20 Jul 2018 17:17:49 +0200
changeset 376 d503d5a786f3
parent 336 5874d49da474
permissions -rwxr-xr-x
Remove usage of changectx The method has been removed in changeset 836867586b83 of Mercurial.
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