This commit is contained in:
@@ -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, [
|
||||
|
||||
Reference in New Issue
Block a user