From ac9c88183966f3cc275329e8b9a02488d80101d1 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Thu, 7 May 2026 15:08:54 -0500 Subject: [PATCH 1/2] Ask about regen-configure --- release.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/release.py b/release.py index 5546228a..f29cecf3 100755 --- a/release.py +++ b/release.py @@ -568,7 +568,10 @@ def bump(tag: Tag) -> None: print("Bumped revision") if extra_work: - print("configure.ac has changed; re-run autotools!") + if ask_question("configure.ac has changed; run 'make regen-configure'?"): + run_cmd(['make', 'regen-configure']) + else: + print("configure.ac has changed; re-run autotools!") print("Please commit and use --tag") From df0a2a77f4cf83eb2f43a4cfbcffafc92e16728b Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Thu, 7 May 2026 15:17:44 -0500 Subject: [PATCH 2/2] fixup! Ask about regen-configure --- release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.py b/release.py index f29cecf3..79ba18eb 100755 --- a/release.py +++ b/release.py @@ -569,7 +569,7 @@ def bump(tag: Tag) -> None: print("Bumped revision") if extra_work: if ask_question("configure.ac has changed; run 'make regen-configure'?"): - run_cmd(['make', 'regen-configure']) + run_cmd(["make", "regen-configure"]) else: print("configure.ac has changed; re-run autotools!") print("Please commit and use --tag")