ci: Add authors to release notes (#5834)

This commit is contained in:
Mathias Fredriksson
2023-01-25 11:13:42 +02:00
committed by GitHub
parent 322a4d93e1
commit 78ede50be8
2 changed files with 23 additions and 13 deletions
+5 -2
View File
@@ -112,7 +112,10 @@ for cat in "${!section_titles[@]}"; do
done
for commit in "${commits[@]}"; do
line="- $commit ${COMMIT_METADATA_TITLE[$commit]}\n"
line="- $commit ${COMMIT_METADATA_TITLE[$commit]}"
if [[ -v COMMIT_METADATA_AUTHORS[$commit] ]]; then
line+=" (${COMMIT_METADATA_AUTHORS[$commit]})"
fi
# Default to "other" category.
cat=other
@@ -122,7 +125,7 @@ for commit in "${commits[@]}"; do
break
fi
done
declare "$cat"_changelog+="$line"
declare "$cat"_changelog+="$line"$'\n'
done
changelog="$(