From ac7bc23bac2e8e971f7bebbffe152f07e2f1feea Mon Sep 17 00:00:00 2001 From: David Mueller <48686014+dmuelle@users.noreply.github.com> Date: Fri, 17 May 2024 10:47:48 -0400 Subject: [PATCH] Remove unnecessary tags from generated release posts #3789 --- .github/workflows/gen_blog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gen_blog.py b/.github/workflows/gen_blog.py index baed290ba..7ea5f00de 100644 --- a/.github/workflows/gen_blog.py +++ b/.github/workflows/gen_blog.py @@ -120,8 +120,8 @@ def make_blog(issues, is_beta): # Get the issue body. First look for tags, then for linked issues, and finally the issue itself body = "" - # For now, just be greedy and grab everything between "" and "" - if "" in issue['body'] and "" in issue['body'] : + # Grab everything between "" and "" + if "" in issue['body'] and "" in issue['body'] : body = issue['body'].partition("")[2].partition("")[0] else: body = linked_issue['body'] if (linked_issue != None and linked_issue['body']) else issue['body']