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

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