From 8faeb463345fceb74792083c2bb8031099211cf4 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Wed, 12 Dec 2012 17:25:20 +0200 Subject: [PATCH] ubuntu-build: Default to DEV-proposed in batch mode. Thanks Scott Kitterman(LP: #1088010) --- debian/changelog | 2 ++ ubuntu-build | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 96f5a3b..e5ed409 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,6 +19,8 @@ ubuntu-dev-tools (0.146) UNRELEASED; urgency=low - Don't ignore -k (LP: #1083688) - Check that dput is installed when uploading, thanks H.-Dirk Schmitt (LP: #1086342) + * ubuntu-build: Default to DEV-proposed in batch mode. Thanks Scott + Kitterman(LP: #1088010) -- Julian Taylor Sat, 24 Nov 2012 21:07:01 +0100 diff --git a/ubuntu-build b/ubuntu-build index 2864142..7449f2d 100755 --- a/ubuntu-build +++ b/ubuntu-build @@ -217,8 +217,10 @@ def main(): # filter out duplicate and invalid architectures archs.intersection_update(valid_archs) - release = (options.series or - Distribution('ubuntu').getDevelopmentSeries().name) + release = options.series + if not release: + release = (Distribution('ubuntu').getDevelopmentSeries().name + + '-proposed') try: (release, pocket) = split_release_pocket(release) except PocketDoesNotExistError, error: