forked from niuniu/llm-intelligence
chore: prepare repository for publishing
This commit is contained in:
37
scripts/verify_pre_phase6.sh
Executable file
37
scripts/verify_pre_phase6.sh
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
|
||||
phases=(
|
||||
"verify_phase1.sh"
|
||||
"verify_phase2.sh"
|
||||
"verify_phase3.sh"
|
||||
"verify_phase4.sh"
|
||||
"verify_phase5.sh"
|
||||
)
|
||||
|
||||
overall=0
|
||||
|
||||
echo "=== Pre-Phase 6 总验收 ==="
|
||||
|
||||
for phase in "${phases[@]}"; do
|
||||
echo
|
||||
echo ">>> 执行 ${phase}"
|
||||
if bash "$SCRIPT_DIR/$phase"; then
|
||||
echo ">>> ${phase} PASS"
|
||||
else
|
||||
echo ">>> ${phase} FAIL"
|
||||
overall=1
|
||||
fi
|
||||
done
|
||||
|
||||
echo
|
||||
if [ "$overall" -eq 0 ]; then
|
||||
echo "PRE_PHASE6_RESULT: PASS"
|
||||
else
|
||||
echo "PRE_PHASE6_RESULT: FAIL"
|
||||
fi
|
||||
|
||||
exit "$overall"
|
||||
Reference in New Issue
Block a user