Skip to content

Commit

Permalink
ISSUE-318: use jq to format the string
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-aveiga committed May 27, 2024
1 parent 44ab3e5 commit 95895d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tasks/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ 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 95895d4

Please sign in to comment.