From a9b11ea2706de2cb7353dfd534104fc2ea8483ff Mon Sep 17 00:00:00 2001 From: Haouari haitam Kouider <57036855+haouarihk@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:43:55 +0100 Subject: [PATCH] 0.0.5 --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f5d5576..a8a3c66 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,9 +39,10 @@ jobs: - name: Create data.json run: | - sed -i -e '$!s/$/,/' prompts.txt + sed -i 's/"/\\"/g' prompts.txt + sed -i -e '$!s/$/",/' prompts.txt + sed -i '$ s/$/",/' prompts.txt sed -i 's/^/ "/' prompts.txt - sed -i '$ s/,$//' prompts.txt echo "{ \"prompts\": [ $(cat prompts.txt)