mirror of
https://github.com/yshui/picom.git
synced 2025-04-21 18:03:02 -04:00
tools: make-a-release: Changelog, not ChangeLog
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
2bbe0e64c9
commit
cd4a25c995
1 changed files with 2 additions and 2 deletions
|
@ -99,13 +99,13 @@ for commit in our_commits:
|
|||
elif line.startswith('Merge pull request #'):
|
||||
related_issues.append(int(line.split()[3][1:]))
|
||||
|
||||
changelog = [i for i, line in enumerate(lines) if line.startswith('ChangeLog:')]
|
||||
changelog = [i for i, line in enumerate(lines) if line.startswith('Changelog:')]
|
||||
if len(changelog) > 1:
|
||||
print('WARN: Multiple Changelog lines')
|
||||
if not changelog:
|
||||
continue
|
||||
line = changelog[0] + 1
|
||||
changelog = lines[changelog[0]].removeprefix('ChangeLog:')
|
||||
changelog = lines[changelog[0]].removeprefix('Changelog:')
|
||||
while line < len(lines) and lines[line].strip() != '':
|
||||
changelog += ' ' + lines[line]
|
||||
line += 1
|
||||
|
|
Loading…
Add table
Reference in a new issue