handle unrelated history promotion fallback
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-07 17:59:41 +09:00
parent d55fe0c251
commit 85cd5ebcd5
+6 -4
View File
@@ -688,10 +688,12 @@ export class AppsService {
if (!isUnrelatedHistoryError(message)) {
throw error;
}
throw new BadRequestException(
`${repository} release 브랜치 승격 실패: ${message}.` +
' release 브랜치가 다른 시작점 히스토리를 가지고 있어 fast-forward로 병합할 수 없습니다.',
);
await execFileAsync(gitBin, [
'merge',
'--allow-unrelated-histories',
'--no-ff',
commitSha,
], { cwd: workDir });
}
} else {
await execFileAsync(gitBin, [