Unverified Commit ecbd8bfb authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[15.5.x][ci]: fix release script to not strip newlines (#94641)

Backports https://github.com/vercel/next.js/pull/93302
parent b04e9381
...@@ -18,4 +18,4 @@ ...@@ -18,4 +18,4 @@
} }
}, },
"version": "15.5.19" "version": "15.5.19"
} }
\ No newline at end of file
...@@ -143,6 +143,7 @@ async function createBlobForFile(token, commitSha, filePath) { ...@@ -143,6 +143,7 @@ async function createBlobForFile(token, commitSha, filePath) {
const content = await git(['show', `${commitSha}:${filePath}`], { const content = await git(['show', `${commitSha}:${filePath}`], {
captureOutput: true, captureOutput: true,
encoding: null, encoding: null,
stripFinalNewline: false,
maxBuffer: 1024 * 1024 * 100, maxBuffer: 1024 * 1024 * 100,
}) })
const blob = await githubRequest( const blob = await githubRequest(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment