Skip to content

Commit b8a8924

Browse files
authored
Ask about regen-configure (#385)
1 parent 95b98fe commit b8a8924

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

release.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,12 @@ def bump(tag: Tag) -> None:
577577

578578
print("Bumped revision")
579579
if extra_work:
580-
print("configure.ac has changed; re-run autotools!")
580+
if ask_question(
581+
"configure.ac has changed; run 'Tools/build/regen-configure.sh'?"
582+
):
583+
run_cmd(["Tools/build/regen-configure.sh"])
584+
else:
585+
print("configure.ac has changed; re-run autotools!")
581586
print("Please commit and use --tag")
582587

583588

0 commit comments

Comments
 (0)