mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-06-26 18:58:54 +02:00
Update generate_releasenotes.py
This commit is contained in:
parent
f1268ad1b7
commit
5db1c78de7
1 changed files with 5 additions and 1 deletions
6
.github/generate_releasenotes.py
vendored
6
.github/generate_releasenotes.py
vendored
|
@ -103,8 +103,12 @@ def get_integration_commits(github, skip=True):
|
|||
continue
|
||||
if "\n" in msg:
|
||||
msg = msg.split("\n")[0]
|
||||
if commit.author:
|
||||
ath = commit.author
|
||||
else:
|
||||
ath = "Unknown"
|
||||
changes += CHANGE.format(
|
||||
line=msg, link=commit.html_url, author=commit.author.login
|
||||
line=msg, link=commit.html_url, author=ath
|
||||
)
|
||||
|
||||
return changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue