mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-19 06:11:09 +00:00
sponsor-patch: Use bzr-builddeb to build branches
This commit is contained in:
parent
7601649315
commit
073e8b1d64
@ -530,7 +530,10 @@ def main(script_name, bug_number, build, edit, keyid, upload, verbose=False):
|
||||
Print.info("Failed to update timetamp in debian/changelog.")
|
||||
|
||||
# Build source package
|
||||
cmd = ["debuild", "--no-lintian", "-S"]
|
||||
if patch:
|
||||
cmd = ['debuild', '--no-lintian', '-S']
|
||||
elif branch:
|
||||
cmd = ['bzr', 'bd', '-S', '--', '--no-lintian']
|
||||
previous_version = task.get_previous_version()
|
||||
cmd.append("-v" + previous_version.full_version)
|
||||
if previous_version.upstream_version == changelog.upstream_version \
|
||||
|
Loading…
x
Reference in New Issue
Block a user