fix(test): 测试脚本有失败就 exit 1,256 个失败不再回绕成通过;非 registry 镜像不推送的断言改按带 --config 的 push 行匹配

This commit is contained in:
Lemon-miaow committed 2026-09-27 17:17:01 +08:00
1 parent 7718879bcd
commit b959c560cc
6 files changed
+18 -9

No files matched your search

+1 -2
View File
@@ -184,5 +184,4 @@ same " and says so" "::error::gh release view answered without a tag" "$out"
same " and writes no outputs" "" "$(cat "$root/out")"
echo
if [ "$fails" -eq 0 ]; then echo "ALL PASS"; else echo "${fails} FAILED"; fi
exit "$fails"
if [ "$fails" -eq 0 ]; then echo "ALL PASS"; else echo "${fails} FAILED"; exit 1; fi