Run gbp dch when not updating changelog.
This commit is contained in:
parent
fc64cf1da1
commit
332263fd9f
2 changed files with 4 additions and 0 deletions
|
@ -222,6 +222,7 @@ def attempt_build(
|
|||
build_changelog_entry=None,
|
||||
subpath="",
|
||||
source_date_epoch=None,
|
||||
run_gbp_dch=False
|
||||
):
|
||||
"""Attempt a build, with a custom distribution set.
|
||||
|
||||
|
@ -236,6 +237,8 @@ def attempt_build(
|
|||
source_date_epoch: Source date epoch to set
|
||||
Returns: Tuple with (changes_name, cl_version)
|
||||
"""
|
||||
if run_gbp_dch:
|
||||
gbp_dch(local_tree.abspath(subpath))
|
||||
if build_changelog_entry is not None:
|
||||
add_dummy_changelog_entry(
|
||||
local_tree, subpath, suffix, build_suite, build_changelog_entry
|
||||
|
|
|
@ -530,6 +530,7 @@ def build_incrementally(
|
|||
build_changelog_entry,
|
||||
subpath=subpath,
|
||||
source_date_epoch=source_date_epoch,
|
||||
run_gbp_dch=(update_changelog is False)
|
||||
)
|
||||
except SbuildFailure as e:
|
||||
if e.error is None:
|
||||
|
|
Loading…
Add table
Reference in a new issue