We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0cc392 commit fb17bdaCopy full SHA for fb17bda
scripts/generate_release_notes.sh
@@ -73,6 +73,8 @@ fi
73
OTHER_COMMITS=$(grep -v -e "^feat:" -e "^fix:" -e "^hotfix:" "$TMP_LOG" || true)
74
if [ -n "$OTHER_COMMITS" ]; then
75
echo "### $CHORE Other Changes"
76
- echo "$OTHER_COMMITS" | sed 's/^/* /'
+ # Format multi-line commit messages correctly.
77
+ # The first line of a commit gets a bullet, subsequent lines are indented.
78
+ echo "$OTHER_COMMITS" | awk 'BEGIN{first=1} /^$/{first=1; next} {if(first){print "* " $0; first=0} else {print " " $0}}'
79
echo ""
80
fi
0 commit comments