util/release/genrelnotes: Emit more markdown-ish output

It's better to format lists with bullet points.

Change-Id: I503ef2dea9146d67c220236b8a5b64c2ba2d794f
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34504
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Patrick Georgi 2019-07-23 02:37:18 +02:00
parent b11a342703
commit fa781fa52c
1 changed files with 2 additions and 2 deletions

View File

@ -202,12 +202,12 @@ show_diff () {
local new
local old
new="$(comm -13 <(echo "$2") <(echo "$3"))"
new="$(comm -13 <(echo "$2") <(echo "$3") | sed 's/^/* /')"
if [ -n "$new" ]; then
printf "Added %s $1:\n-------------------\n%s\n\n" \
"$(echo "$new" | wc -l)" "$new" >> "$LOGFILE"
fi
old="$(comm -23 <(echo "$2") <(echo "$3"))"
old="$(comm -23 <(echo "$2") <(echo "$3") | sed 's/^/* /')"
if [ -n "$old" ]; then
printf "Removed %s $1:\n-------------------\n%s\n\n" \
"$(echo "$old" | wc -l)" "$old" >> "$LOGFILE"