Don't hardcode changelog entry.
This commit is contained in:
parent
94d98b244d
commit
88f484c58f
2 changed files with 6 additions and 4 deletions
|
@ -207,7 +207,7 @@ def attempt_build(
|
|||
build_suite,
|
||||
output_directory,
|
||||
build_command,
|
||||
build_changelog_entry="Build for debian-janitor apt repository.",
|
||||
build_changelog_entry=None,
|
||||
subpath="",
|
||||
source_date_epoch=None,
|
||||
):
|
||||
|
@ -224,9 +224,10 @@ def attempt_build(
|
|||
source_date_epoch: Source date epoch to set
|
||||
Returns: Tuple with (changes_name, cl_version)
|
||||
"""
|
||||
add_dummy_changelog_entry(
|
||||
local_tree, subpath, suffix, build_suite, build_changelog_entry
|
||||
)
|
||||
if build_changelog_entry is not None:
|
||||
add_dummy_changelog_entry(
|
||||
local_tree, subpath, suffix, build_suite, build_changelog_entry
|
||||
)
|
||||
return build_once(
|
||||
local_tree,
|
||||
build_suite,
|
||||
|
|
|
@ -682,6 +682,7 @@ def main(argv=None):
|
|||
args.suite,
|
||||
output_directory,
|
||||
args.build_command,
|
||||
None,
|
||||
committer=args.committer,
|
||||
update_changelog=args.update_changelog,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue