We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dc4c78 commit 9f57332Copy full SHA for 9f57332
generate-changelog.sh
@@ -82,7 +82,7 @@ for PR_NUMBER in $PR_COMMITS; do
82
NOTE_TYPE=$(jq -r '.type' <<< "$note" | tr '[:lower:]' '[:upper:]')
83
NOTE_AUDIENCE=$(jq -r '.audience' <<< "$note" | tr '[:lower:]' '[:upper:]')
84
NOTE_BODY=$(jq -r '.body' <<< "$note")
85
- echo -en "\n - **[$NOTE_AUDIENCE][$NOTE_TYPE]** $NOTE_BODY"
+ echo -en "\n - **[$NOTE_AUDIENCE][$NOTE_TYPE]** ${NOTE_BODY//'\n'/'\n '}" # the parameter expansion is required to fix the indentation
86
done
87
)"
88
0 commit comments