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, build_suite,
output_directory, output_directory,
build_command, build_command,
build_changelog_entry="Build for debian-janitor apt repository.", build_changelog_entry=None,
subpath="", subpath="",
source_date_epoch=None, source_date_epoch=None,
): ):
@ -224,6 +224,7 @@ def attempt_build(
source_date_epoch: Source date epoch to set source_date_epoch: Source date epoch to set
Returns: Tuple with (changes_name, cl_version) Returns: Tuple with (changes_name, cl_version)
""" """
if build_changelog_entry is not None:
add_dummy_changelog_entry( add_dummy_changelog_entry(
local_tree, subpath, suffix, build_suite, build_changelog_entry local_tree, subpath, suffix, build_suite, build_changelog_entry
) )

View file

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