From 10011f33ab63c5347ef6f2c2f182ee81cdee19be Mon Sep 17 00:00:00 2001 From: atermonera Date: Wed, 23 Dec 2020 14:23:43 -0900 Subject: [PATCH] Fixes error in parsing text outside of changelog tags --- tools/GenerateChangelog/ss13_autochangelog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/GenerateChangelog/ss13_autochangelog.py b/tools/GenerateChangelog/ss13_autochangelog.py index 180c30e334..60472a0174 100644 --- a/tools/GenerateChangelog/ss13_autochangelog.py +++ b/tools/GenerateChangelog/ss13_autochangelog.py @@ -63,7 +63,7 @@ new = 0 print('Reading changelogs...') for line in args.pr_body.splitlines(): print(f"Checking line '{line}'") - if line[0] == "🆑": # Find the start of the changelog + if line[:1] == "??": # Find the start of the changelog print("Found opening :cl: tag") if incltag == True: # If we're already reading logs, skip continue @@ -81,7 +81,7 @@ for line in args.pr_body.splitlines(): continue # If we hit a /cl, we're no longer reading logs - elif line == "/🆑": + elif line == "/??": print("Found closing /:cl: tag") incltag = False