From fa781fa52ce06563efdc1e156cd1b6f3955890f3 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 23 Jul 2019 02:37:18 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/34504 Reviewed-by: Martin Roth Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- util/release/genrelnotes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/release/genrelnotes b/util/release/genrelnotes index e4f304b727..2867cbffee 100755 --- a/util/release/genrelnotes +++ b/util/release/genrelnotes @@ -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"