From ac9c88183966f3cc275329e8b9a02488d80101d1 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Thu, 7 May 2026 15:08:54 -0500 Subject: [PATCH 1/4] 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/4] 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") From 1d1504dbbc0a7dc8697952558025a1423c141421 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Sat, 23 May 2026 16:29:09 -0500 Subject: [PATCH 3/4] Call the regen-configure.sh script directly --- release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.py b/release.py index 79ba18eb..25c7cc63 100755 --- a/release.py +++ b/release.py @@ -568,8 +568,8 @@ 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"]) + if ask_question("configure.ac has changed; run 'Tools/build/regen-configure.sh'?"): + run_cmd(["Tools/build/regen-configure.sh"]) else: print("configure.ac has changed; re-run autotools!") print("Please commit and use --tag") From 9d0c1d48006ff1e4bdae635c43f7c3e64629e6a3 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Sat, 23 May 2026 16:31:56 -0500 Subject: [PATCH 4/4] Appease the linter --- release.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/release.py b/release.py index 25c7cc63..ada1cda8 100755 --- a/release.py +++ b/release.py @@ -568,7 +568,9 @@ def bump(tag: Tag) -> None: print("Bumped revision") if extra_work: - if ask_question("configure.ac has changed; run 'Tools/build/regen-configure.sh'?"): + if ask_question( + "configure.ac has changed; run 'Tools/build/regen-configure.sh'?" + ): run_cmd(["Tools/build/regen-configure.sh"]) else: print("configure.ac has changed; re-run autotools!")