[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}" 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 fi
if [[ "$counter" -eq 10 ]]; then if [[ "$counter" -eq 10 ]]; then
json="${json:-2}${NL}]}" json="${json::-2}${NL}]}"
echo $json echo $json
json="" json=""
counter=0 counter=0
@@ -39,7 +39,7 @@ do
fi fi
done done
if ! [[ "$counter" -eq 0 ]]; then if ! [[ "$counter" -eq 0 ]]; then
json="${json:-2}${NL}]}" json="${json::-2}${NL}]}"
echo $json echo $json
# flush with request # flush with request
fi fi