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:
parent
b11a342703
commit
fa781fa52c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue