fix: build err when rm history build before building

This commit is contained in:
carey036 2024-03-01 12:12:45 +08:00 committed by GitHub
parent 3f956cfa46
commit d9feec9a2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@ pwd
while IFS= read -r theme; do
echo "Building theme: $theme"
rm -r build/$theme
rm -rf build/$theme
cd "$theme"
npm install
DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$version npm run build