util/release: Update genrelnotes script for new release format

- Print submodule updates the way we want it for the release.
- Change hyphens on stats to asterisks.
- Add asterisks before authors.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I23e39fa47fe418ee51fb957fcb5fc25b50950e38
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77331
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/util/release/genrelnotes b/util/release/genrelnotes
index 1bbe554..46037ab 100755
--- a/util/release/genrelnotes
+++ b/util/release/genrelnotes
@@ -166,8 +166,7 @@
 	commits=$(echo "$log" | wc -l)
 
 	if [ -n "$log" ]; then
-		printf "%s\n" "$submodule_dir ($commits commits)" >> "$LOGFILE"
-		printf "\n" >> "$LOGFILE"
+		printf "* %s: Update from commit id %s to %s (%s commits)\n" "${submodule_dir}" "${old_version:0:10}" "${new_version:0:10}" "${commits}" >> "$LOGFILE"
 	fi
 	); then
 	version_ctrl_c
@@ -534,12 +533,12 @@
 NEW_AUTHOR_LIST=$( grep -Fxv -f "$before_names" "$after_names")
 rm -f "$before_names" "$after_names"
 {
-	printf -- "- Total commits: %s\n" "$TOTAL_COMMITS"
-	printf -- "- Total authors: %s\n" \
+	printf -- "* Total commits: %s\n" "$TOTAL_COMMITS"
+	printf -- "* Total authors: %s\n" \
 		"$(git log "${OLD_GIT_VERSION}..${NEW_GIT_VERSION}" 2>/dev/null | \
 		grep -e '^Author:' | sed 's/.*Author: //' | sed 's/ <.*.>//' | \
 		sort | uniq | wc -l)"
-	printf -- "- New authors: %s\n\nNew Authors:\n%s\n" "$NEW_AUTHORS" \
+	printf -- "* New authors: %s\n\nNew Authors:\n%s\n" "$NEW_AUTHORS" \
 		"$NEW_AUTHOR_LIST"
 } >> "$LOGFILE"
 
@@ -548,7 +547,7 @@
 git log "${OLD_GIT_VERSION}..${NEW_GIT_VERSION}" 2>/dev/null | grep '^Author: ' | \
 	sed 's|Author: ||' | sed 's|\s<.*||' | sort | uniq | \
 	while read -r line; do
-		 printf "%-40s:  %5s %5s\n" "$line" \
+		 printf "* %-40s:  %5s %5s\n" "$line" \
 		 	"$(git log "${OLD_GIT_VERSION}" 2>/dev/null | \
 		 	grep -c "^Author: ${line} <")" \
 		 	"$(git log "${NEW_GIT_VERSION}" 2>/dev/null | \