fix parsing bug with tag notes
This commit is contained in:
parent
ae2407a9ff
commit
ce71357803
3
parse
3
parse
|
@ -3,7 +3,8 @@ function parse() {
|
||||||
WPSET_REL=$(mktemp /tmp/wpset-releases-XXXXX.json)
|
WPSET_REL=$(mktemp /tmp/wpset-releases-XXXXX.json)
|
||||||
curl -s https://tildegit.org/api/v1/repos/BrendanTCC/brendotools-wallman/tags -o $WPSET_REL
|
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_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
|
rm $WPSET_REL
|
||||||
}
|
}
|
||||||
# everything below this comment is entirely for debugging parsing.
|
# everything below this comment is entirely for debugging parsing.
|
||||||
|
|
Loading…
Reference in New Issue