Skip to content

Commit d5f5d67

Browse files
committed
autogen: fix incorrect dry_run handling in gen_bib_file()
- This commit ported from mldsa-native PR #568 - This commit fixes an issue where the dry_run argument was not working in the gen_bib_file() function. As a result, the CI would not raise an error when BIBLIOGRAPHY.md was missing updates. - The problem was that the dry_run parameter was always set to False, so the dry-run mode was never enabled during execution. Signed-off-by: willieyz <[email protected]>
1 parent a990502 commit d5f5d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/autogen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2830,7 +2830,7 @@ def gen_citations(dry_run=False):
28302830
"Add a citation or remove from BIBLIOGRAPHY.yml."
28312831
)
28322832

2833-
gen_bib_file(bibliography, dry_run=False)
2833+
gen_bib_file(bibliography, dry_run=dry_run)
28342834

28352835

28362836
def extract_bytecode_from_output(output_text):

0 commit comments

Comments
 (0)