Publish script: don't stop if wandbox fails

This commit is contained in:
Benoit Blanchon
2022-01-14 09:22:55 +01:00
parent 6ea2815341
commit dea8387586
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ compile() {
END
URL=$(curl -sS -H "Content-type: application/json" -d @parameters.json https://wandbox.org/api/compile.json | jq --raw-output .url)
rm parameters.json
echo "$1: $URL"
[ -n "$URL" ] && echo "$1: $URL"
}
compile "JsonGeneratorExample"