fix: fail ci-json commands on contract drift

This commit is contained in:
Codex
2026-05-26 20:15:20 +08:00
parent 4f97ed22e6
commit 4144bb818c
+3
View File
@@ -621,7 +621,10 @@ function ciJsonScript(ci) {
];
for (const command of commands) {
lines.push(`echo ${shellSingleQuote(`CI.json command: ${command.name}`)}`);
lines.push("(");
lines.push("set -eu");
lines.push(command.run);
lines.push(")");
}
return `${lines.join("\n")}\n`;
}