Update ss13_autochangelog_ch.py

This commit is contained in:
Raeschen
2023-08-01 09:46:48 +02:00
committed by GitHub
parent 979315ef40
commit 4057e01ca3

View File

@@ -73,6 +73,8 @@ f.close()
print('Reading changelogs...')
for line in pr_body.splitlines():
line = line.replace('"','\\"')
#line = line.replace("'","''")
print(f"Checking line '{line}'")
if line[:1] == "🆑" or line[:4] == ":cl:": # Find the start of the changelog
print("Found opening :cl: tag")
@@ -132,4 +134,4 @@ for auth in new_logs:
f.write('changes:\n')
for log in new_logs[auth]:
f.write(f'{log}\n')
f.close()
f.close()