[40352] Don't remove the API folder

https://community.openproject.org/wp/40352
pull/9997/head
Oliver Günther 3 years ago
parent 1314126200
commit 4092ff4385
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 5
      packaging/teardown

@ -5,5 +5,6 @@ set -e
echo "Cleaning up current node_modules folders"
rm -rf node_modules frontend/node_modules || true
echo "Cleaning up current docs folders"
rm -rf docs/* || true
echo "Cleaning up current docs folders except API"
# We need the api folder for openapi (https://community.openproject.org/work_packages/40352/activity)
find docs -mindepth 1 -maxdepth 1 -type d -not -name 'api' | xargs rm -rf

Loading…
Cancel
Save