Don't run 'gbp dch' when not at root of the tree.
This commit is contained in:
parent
02aa737241
commit
10448e36d9
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,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 run_gbp_dch:
|
if run_gbp_dch and not subpath:
|
||||||
gbp_dch(local_tree.abspath(subpath))
|
gbp_dch(local_tree.abspath(subpath))
|
||||||
if build_changelog_entry is not None:
|
if build_changelog_entry is not None:
|
||||||
add_dummy_changelog_entry(
|
add_dummy_changelog_entry(
|
||||||
|
|
Loading…
Add table
Reference in a new issue