From b01f431036e33e9dc1cd3a06497612ea597f1137 Mon Sep 17 00:00:00 2001 From: Luis Aveiga Date: Mon, 27 May 2024 17:22:31 -0500 Subject: [PATCH] ISSUE-318: replace new lines \n with \r\n --- tasks/github.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/github.yml b/tasks/github.yml index ce427637..ca716382 100644 --- a/tasks/github.yml +++ b/tasks/github.yml @@ -42,4 +42,5 @@ tasks: $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 }}