maintainers/scripts/update.py: fix exclusion of commitBody when commitMessage is provided

When manually providing a commit message, the logic to add
a commit body is skipped accidentally.
This commit is contained in:
wrench-exile-legacy
2026-07-12 22:09:35 +01:00
parent 1d2b03b1c7
commit cce826beda
+1 -1
View File
@@ -307,7 +307,7 @@ async def commit_changes(
commit_message = "{attrPath}: {oldVersion} -> {newVersion}".format(**change)
if "commitMessage" in change:
commit_message = change["commitMessage"]
elif "commitBody" in change:
if "commitBody" in change:
commit_message = commit_message + "\n\n" + change["commitBody"]
await check_subprocess_output(
"git",