From 95895d4016f826deb591cae8c715615b6371b215 Mon Sep 17 00:00:00 2001 From: Luis Aveiga Date: Mon, 27 May 2024 17:10:33 -0500 Subject: [PATCH] ISSUE-318: use jq to format the string --- tasks/github.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/github.yml b/tasks/github.yml index 0202cab9..ce427637 100644 --- a/tasks/github.yml +++ b/tasks/github.yml @@ -42,5 +42,4 @@ 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 }}