fix(release): correct ahead/behind parsing for REL-02
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -211,7 +211,7 @@ async function applyRepositoryChecks(results, artifactPath) {
|
|||||||
{ cwd: ROOT, timeoutMs: 30_000 },
|
{ cwd: ROOT, timeoutMs: 30_000 },
|
||||||
);
|
);
|
||||||
if (aheadBehind.code === 0) {
|
if (aheadBehind.code === 0) {
|
||||||
[behind, ahead] = aheadBehind.stdout.trim().split(/\s+/);
|
[ahead, behind] = aheadBehind.stdout.trim().split(/\s+/);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const ciStatus = remoteSha && behind === '0'
|
const ciStatus = remoteSha && behind === '0'
|
||||||
|
|||||||
Reference in New Issue
Block a user