This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new ebfb1b5  Expand checklist values before substituting
ebfb1b5 is described below

commit ebfb1b52830a411c1351045e82787878ba8db5e7
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Dec 31 16:37:23 2025 +0000

    Expand checklist values before substituting
---
 atr/construct.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/atr/construct.py b/atr/construct.py
index 70b3043..3c86c08 100644
--- a/atr/construct.py
+++ b/atr/construct.py
@@ -207,6 +207,15 @@ async def start_vote_body(body: str, options: 
StartVoteOptions) -> str:
         if release_policy:
             checklist_content = release_policy.release_checklist or ""
 
+    if checklist_content and release.project:
+        checklist_content = checklist_body(
+            checklist_content,
+            project=release.project,
+            version_name=options.version_name,
+            committee=committee,
+            revision=latest_rev,
+        )
+
     # Perform substitutions in the body
     # TODO: Handle the DURATION == 0 case
     body = body.replace("[CHECKLIST_URL]", checklist_url)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to