mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-07-31 20:50:15 +02:00
changelog.py now omits "Updated changelog" commits.
This commit is contained in:
@@ -159,5 +159,6 @@ if __name__ == '__main__':
|
||||
print('%s [%s](%s "show release") %s %s' % ('#' * (level + 1), ver, url + '/releases/tag/' + ver, type, diff), file = file)
|
||||
|
||||
# Print commits excluding merges
|
||||
if not c.comment.startswith('Merge branch') and not c.comment.startswith('Merge pull'):
|
||||
|
||||
if not c.comment.startswith('Merge branch') and not c.comment.startswith('Merge pull') and not re.match(r'U..ated changelog.*', 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)
|
||||
|
Reference in New Issue
Block a user