fix(release): correct ahead/behind parsing for REL-02

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-27 08:40:15 +08:00
parent 6e25008df2
commit cb38225704
+1 -1
View File
@@ -211,7 +211,7 @@ async function applyRepositoryChecks(results, artifactPath) {
{ cwd: ROOT, timeoutMs: 30_000 },
);
if (aheadBehind.code === 0) {
[behind, ahead] = aheadBehind.stdout.trim().split(/\s+/);
[ahead, behind] = aheadBehind.stdout.trim().split(/\s+/);
}
}
const ciStatus = remoteSha && behind === '0'