feat(scripts): allow command failed
All checks were successful
submodules sync / sync (push) Successful in 46s
build / build (push) Successful in 2m14s
build / trigger-build-image (push) Successful in 12s

This commit is contained in:
张泊明518370910136 2025-05-31 08:53:11 -04:00
parent e1f7e9b22d
commit 44446f91c1
GPG Key ID: D47306D7062CDA9D

View File

@ -11,7 +11,9 @@ for submodule in $submodules; do
repo_name=$(echo $url | rev | cut -d'/' -f 1 | rev | cut -d'.' -f 1)
submodule_dir="$submodules_dir/$repo_name/$submodule"
cd $submodule_dir
set +e
eval "$command"
set -e
if [[ $command == $JOJ3 ]]; then
if [ -f "./expected.json" ]; then
mv -f "joj3_result.json" "expected.json"