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,
|
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,9 +224,10 @@ 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)
|
||||||
"""
|
"""
|
||||||
add_dummy_changelog_entry(
|
if build_changelog_entry is not None:
|
||||||
local_tree, subpath, suffix, build_suite, build_changelog_entry
|
add_dummy_changelog_entry(
|
||||||
)
|
local_tree, subpath, suffix, build_suite, build_changelog_entry
|
||||||
|
)
|
||||||
return build_once(
|
return build_once(
|
||||||
local_tree,
|
local_tree,
|
||||||
build_suite,
|
build_suite,
|
||||||
|
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue