build: fixup release notes generation (#49302)

This commit is contained in:
John Kleinschmidt
2026-01-05 11:11:40 -05:00
committed by GitHub
parent 46922de638
commit c8bb700509

View File

@@ -109,7 +109,8 @@ const runGit = async (dir: string, args: string[]) => {
const response = spawnSync('git', args, {
cwd: dir,
encoding: 'utf8',
stdio: ['inherit', 'pipe', 'pipe']
stdio: ['inherit', 'pipe', 'pipe'],
maxBuffer: 100 * 1024 * 1024 // 100MB buffer to handle large git outputs
});
if (response.status !== 0) {
console.error(`Git command failed: git ${args.join(' ')}`);