cli: fix pdf titlepage name
This commit is contained in:
parent
43d6d19f63
commit
26b1cc8f9f
@ -202,8 +202,8 @@ def cli(
|
||||
generate_titlepage(yaml_data, extra_metadata, shared_bom)
|
||||
|
||||
if "pdf" in output_formats:
|
||||
extra_metadata["titlepage"] = extra_metadata["titlepage"].with_suffix(
|
||||
"_for_pdf"
|
||||
extra_metadata["titlepage"] = extra_metadata["titlepage"].with_stem(
|
||||
extra_metadata["titlepage"].stem + "_for_pdf"
|
||||
)
|
||||
if create_titlepage:
|
||||
extra_metadata["output_names"].insert(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user