Merge pull request #9504 from VOREStation/upstream-merge-7804

[MIRROR] Autochangelog Fix
This commit is contained in:
Novacat
2021-02-27 14:00:11 -05:00
committed by Chompstation Bot
parent bfe487e41a
commit 556b955810

View File

@@ -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