File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ rm -rf asset vendor
3535rm -f composer.lock
3636composer install --no-scripts || fail " composer install failed"
3737composer run-script post-update-cmd -- copy-assets
38- find vendor/ -type f -name " *.php" \
39- | grep -v ' /examples/' \
40- | grep -v ' /example/' \
41- | grep -v ' /tests/' \
42- | grep -v ' /test/' \
43- | xargs -L1 git add -f
44- find vendor/ -type f -name LICENSE | xargs -L1 git add -f
45- find vendor/ -type f -name ' *.json' | xargs -L1 git add -f
46- find asset/ -type f | xargs -L1 git add -f
38+ find vendor/ -type f -name " *.php" -print0 \
39+ | grep -z - v ' /examples/' \
40+ | grep -z - v ' /example/' \
41+ | grep -z - v ' /tests/' \
42+ | grep -z - v ' /test/' \
43+ | xargs -0 - L1 git add -f
44+ find vendor/ -type f -name LICENSE -print0 | xargs -0 -L1 git add -f
45+ find vendor/ -type f -name ' *.json' -print0 | xargs -0 -L1 git add -f
46+ find asset/ -type f -print0 | xargs -0 -L1 git add -f
4747echo " v$VERSION " > VERSION
4848git add VERSION
4949git add composer.lock -f
You can’t perform that action at this time.
0 commit comments