Commit a10437ad authored by nanahira's avatar nanahira

add purge command

parent b704e12c
...@@ -79,6 +79,13 @@ uploadAppJson() { ...@@ -79,6 +79,13 @@ uploadAppJson() {
echo "$result" | jq . echo "$result" | jq .
} }
purge() {
echo "Purging archives"
result=$(curl -sL -H "$header" -X POST "$apiRoot/release/api/admin/purge")
handleErrorMessage "$result"
echo "$result" | jq .
}
help() { help() {
cat ./README.md cat ./README.md
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment