1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-16 04:13:57 +02:00

Updated changelog.

This commit is contained in:
Chris Palmer
2024-02-19 00:06:35 +00:00
parent 63a4271c4c
commit 1f313aa4ac
2 changed files with 12 additions and 1 deletions

View File

@@ -169,6 +169,9 @@ if __name__ == '__main__':
# Print commits excluding merges
if not c.comment.startswith('Merge branch') and not c.comment.startswith('Merge pull') and not re.match(r'U.?.ated ch.*log.*', c.comment):
if not c.comment.startswith('Merge branch') \
and not c.comment.startswith('Merge pull') \
and not re.match(r'U.?.ated ch.*log.*', c.comment) \
and not re.match(r'Changelog updated.*', c.comment):
print('* %s [`%s`](%s "show commit") %s %s\n' % (c.date, c.hash[:7], url + '/commit/' + c.hash, initials(c.author), fixup_comment(c.comment, url)), file = file)
do_cmd(('codespell -w -L od ' + filename).split())