sponsor-patch: Use dch --release instead of --edit to work with

DEBCHANGE_RELEASE_HEURISTIC=changelog.
This commit is contained in:
Stefano Rivera 2011-06-03 19:18:38 +02:00
parent 4349bcad39
commit dcad51ec87
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@ -8,6 +8,8 @@ ubuntu-dev-tools (0.125) UNRELEASED; urgency=low
[ Stefano Rivera ] [ Stefano Rivera ]
* ubuntutools.archive: Display any errors rmadison emits, rather than * ubuntutools.archive: Display any errors rmadison emits, rather than
guessing at the cause. (LP: #788447) guessing at the cause. (LP: #788447)
* sponsor-patch: Use dch --release instead of --edit to work with
DEBCHANGE_RELEASE_HEURISTIC=changelog.
[ Dustin Kirkland ] [ Dustin Kirkland ]
* doc/lp-project-upload.1, lp-project-upload: * doc/lp-project-upload.1, lp-project-upload:

View File

@ -332,7 +332,7 @@ def sponsor_patch(bug_number, build, builder, edit, keyid, lpinstance, update,
ask_for_manual_fixing() ask_for_manual_fixing()
continue continue
cmd = ["dch", "--maintmaint", "--edit", ""] cmd = ["dch", "--maintmaint", "--release", ""]
Logger.command(cmd) Logger.command(cmd)
if subprocess.call(cmd) != 0: if subprocess.call(cmd) != 0:
Logger.info("Failed to update timestamp in debian/changelog.") Logger.info("Failed to update timestamp in debian/changelog.")