Don't hardcode changelog entry.

This commit is contained in:
Jelmer Vernooij 2021-03-01 01:21:18 +00:00
parent 94d98b244d
commit 88f484c58f
2 changed files with 6 additions and 4 deletions

View file

@ -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,

View file

@ -682,6 +682,7 @@ def main(argv=None):
args.suite,
output_directory,
args.build_command,
None,
committer=args.committer,
update_changelog=args.update_changelog,
)