Skip to content

Commit 9f57332

Browse files
committed
fix release note indentation
1 parent 3dc4c78 commit 9f57332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-changelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ for PR_NUMBER in $PR_COMMITS; do
8282
NOTE_TYPE=$(jq -r '.type' <<< "$note" | tr '[:lower:]' '[:upper:]')
8383
NOTE_AUDIENCE=$(jq -r '.audience' <<< "$note" | tr '[:lower:]' '[:upper:]')
8484
NOTE_BODY=$(jq -r '.body' <<< "$note")
85-
echo -en "\n - **[$NOTE_AUDIENCE][$NOTE_TYPE]** $NOTE_BODY"
85+
echo -en "\n - **[$NOTE_AUDIENCE][$NOTE_TYPE]** ${NOTE_BODY//'\n'/'\n '}" # the parameter expansion is required to fix the indentation
8686
done
8787
)"
8888

0 commit comments

Comments
 (0)