summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2019-07-23 02:37:18 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-07-31 08:47:24 +0000
commitfa781fa52ce06563efdc1e156cd1b6f3955890f3 (patch)
tree9fe0bfe014ae57ab57b02d016b45fecdc364e763 /util
parentb11a34270348a91e0586f2a8e8fe6e621c42f3f9 (diff)
downloadcoreboot-fa781fa52ce06563efdc1e156cd1b6f3955890f3.tar.xz
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>
Diffstat (limited to 'util')
-rwxr-xr-xutil/release/genrelnotes4
1 files 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"