[GHA-Build] Debug cloudflare cache flush script

This commit is contained in:
aboyko
2023-07-31 17:45:02 -04:00
parent be38bb06b0
commit 4cdba7ca43

View File

@@ -31,7 +31,7 @@ do
json="${json}\"http://dist.springsource.com${path}\",${NL}\"https://dist.springsource.com${path}\",${NL}\"http://download.springsource.com${path}\",${NL}\"https://download.springsource.com${path}\",${NL}"
fi
if [[ "$counter" -eq 10 ]]; then
json="${json:-2}${NL}]}"
json="${json::-2}${NL}]}"
echo $json
json=""
counter=0
@@ -39,7 +39,7 @@ do
fi
done
if ! [[ "$counter" -eq 0 ]]; then
json="${json:-2}${NL}]}"
json="${json::-2}${NL}]}"
echo $json
# flush with request
fi