chore(changelog): fix first-letter uppercase in breaking change messages
Diff
1diff --git a/tools/changelog.sh b/tools/changelog.sh
2index 966e91c25a0cc1ee1eab90f2bae780aec73cb4aa..7329a9526f9a68186fc878cb78f94af351cbdf73 100755
3--- a/tools/changelog.sh
4+++ b/tools/changelog.sh
5@@ -294,11 +294,12 @@ function display-release {
6 local hash message
7 local wrap_width=$(( (COLUMNS < 100 ? COLUMNS : 100) - 3 ))
8 for hash message in ${(kv)breaking}; do
9- # Format the BREAKING CHANGE message by word-wrapping it at maximum 100 characters
10- # (use $COLUMNS if smaller than 100), and adding a 3-space left padding.
11- message="$(fmt -w $wrap_width <<< "$message" | sed 's/^/ /')"
12- # Display hash and scope first, and then the full message with newline separators
13- echo " - $(fmt:hash) $(fmt:scope)\n\n$(fmt:subject "$message")\n"
14+ # Format the BREAKING CHANGE message by word-wrapping it at maximum 100
15+ # characters (use $COLUMNS if smaller than 100)
16+ message="$(fmt -w $wrap_width <<< "$message")"
17+ # Display hash and scope in their own line, and then the full message with
18+ # blank lines as separators and a 3-space left padding
19+ echo " - $(fmt:hash) $(fmt:scope)\n\n$(fmt:subject "$message" | sed 's/^/ /')\n"
20 done
21 }
22