Skip to content

Commit

Permalink
ISSUE-318: replace new lines \n with \r\n
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-aveiga committed May 27, 2024
1 parent 95895d4 commit b01f431
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ tasks:
$DIFF
<!--/Composer Lock Diff-->"
fi
DESCRIPTION=$(echo "$DESCRIPTION" | sed ':a;N;$!ba;s/\n/\r\n/g' | sed -z 's/"/\\"/g')
echo "$(jq -n --arg description "$DESCRIPTION" '{"body": $description}')" > {{ .json_file }}

0 comments on commit b01f431

Please sign in to comment.