From ce71357803f727f5201d383d149c51b543723f42 Mon Sep 17 00:00:00 2001 From: BrendanTCC Date: Thu, 26 Aug 2021 22:24:25 +1000 Subject: [PATCH] fix parsing bug with tag notes --- parse | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parse b/parse index 224098c..4da8d03 100644 --- a/parse +++ b/parse @@ -3,7 +3,8 @@ function parse() { WPSET_REL=$(mktemp /tmp/wpset-releases-XXXXX.json) curl -s https://tildegit.org/api/v1/repos/BrendanTCC/brendotools-wallman/tags -o $WPSET_REL DOWNLOAD_VERSION=$(cat $WPSET_REL | jq .[0].name | sed s/\"//g) - DOWNLOAD_NOTES=$(cat $WPSET_REL | jq .[0].message | sed s/\"//g) + DOWNLOAD_NOTES=$(cat $WPSET_REL | jq .[0].message | sed s/\"//g | sed 's/\\n/\ +/g') rm $WPSET_REL } # everything below this comment is entirely for debugging parsing.