From 0cdbee43081ef728856c1d598c7b34c20ec70d7d Mon Sep 17 00:00:00 2001 From: Lucy Date: Fri, 1 Dec 2023 07:45:34 -0500 Subject: [PATCH] Fix inconsistent changelog generation (#10241) * Fix inconsistent changelog generation * dammit --- tools/changelog/generate_cl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/changelog/generate_cl.py b/tools/changelog/generate_cl.py index ce72994f8e3c7..644921a31b36d 100644 --- a/tools/changelog/generate_cl.py +++ b/tools/changelog/generate_cl.py @@ -29,7 +29,7 @@ from github import Github, InputGitAuthor from ruamel import yaml -CL_BODY = re.compile(r":cl:(.+)?\r\n((.|\n|\r)+?)\r\n\/:cl:", re.MULTILINE) +CL_BODY = re.compile(r":cl:(.+)?[\r\n]+((.|\n|\r)+?)[\r\n]+/:cl:", re.MULTILINE) CL_SPLIT = re.compile(r"(^\w+):\s+(\w.+)", re.MULTILINE) git_email = os.getenv("GIT_EMAIL")