mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
ci: Add authors to release notes (#5834)
This commit is contained in:
committed by
GitHub
parent
322a4d93e1
commit
78ede50be8
@@ -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="$(
|
||||
|
||||
Reference in New Issue
Block a user