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

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

Backports https://github.com/vercel/next.js/pull/93302
parent f37fad94
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
} }
}, },
"version": "16.2.9" "version": "16.2.9"
} }
\ No newline at end of file
...@@ -50,4 +50,4 @@ ...@@ -50,4 +50,4 @@
"engines": { "engines": {
"node": ">=20.9.0" "node": ">=20.9.0"
} }
} }
\ No newline at end of file
...@@ -60,4 +60,4 @@ ...@@ -60,4 +60,4 @@
"default": "./dist/parser.js" "default": "./dist/parser.js"
} }
} }
} }
\ No newline at end of file
...@@ -17,4 +17,4 @@ ...@@ -17,4 +17,4 @@
"devDependencies": { "devDependencies": {
"eslint": "9.37.0" "eslint": "9.37.0"
} }
} }
\ No newline at end of file
...@@ -25,4 +25,4 @@ ...@@ -25,4 +25,4 @@
"types": "tsc src/index.ts --skipLibCheck --declaration --emitDeclarationOnly --esModuleInterop --declarationDir dist", "types": "tsc src/index.ts --skipLibCheck --declaration --emitDeclarationOnly --esModuleInterop --declarationDir dist",
"prepublishOnly": "cd ../../ && turbo run build" "prepublishOnly": "cd ../../ && turbo run build"
} }
} }
\ No newline at end of file
...@@ -26,4 +26,4 @@ ...@@ -26,4 +26,4 @@
"fontkit": "2.0.2", "fontkit": "2.0.2",
"typescript": "5.9.2" "typescript": "5.9.2"
} }
} }
\ No newline at end of file
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
"dependencies": { "dependencies": {
"webpack-bundle-analyzer": "4.10.1" "webpack-bundle-analyzer": "4.10.1"
} }
} }
\ No newline at end of file
...@@ -42,4 +42,4 @@ ...@@ -42,4 +42,4 @@
"@types/semver": "7.3.1", "@types/semver": "7.3.1",
"typescript": "5.9.2" "typescript": "5.9.2"
} }
} }
\ No newline at end of file
...@@ -33,4 +33,4 @@ ...@@ -33,4 +33,4 @@
"dotenv": "16.3.1", "dotenv": "16.3.1",
"dotenv-expand": "10.0.0" "dotenv-expand": "10.0.0"
} }
} }
\ No newline at end of file
...@@ -22,4 +22,4 @@ ...@@ -22,4 +22,4 @@
"dependencies": { "dependencies": {
"source-map": "^0.7.0" "source-map": "^0.7.0"
} }
} }
\ No newline at end of file
...@@ -29,4 +29,4 @@ ...@@ -29,4 +29,4 @@
"@playwright/test": "1.58.2", "@playwright/test": "1.58.2",
"typescript": "5.9.2" "typescript": "5.9.2"
} }
} }
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
"url": "vercel/next.js", "url": "vercel/next.js",
"directory": "packages/next-plugin-storybook" "directory": "packages/next-plugin-storybook"
} }
} }
\ No newline at end of file
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"devDependencies": { "devDependencies": {
"microbundle": "0.15.0" "microbundle": "0.15.0"
} }
} }
\ No newline at end of file
...@@ -19,4 +19,4 @@ ...@@ -19,4 +19,4 @@
"object-assign": "4.1.1", "object-assign": "4.1.1",
"whatwg-fetch": "3.0.0" "whatwg-fetch": "3.0.0"
} }
} }
\ No newline at end of file
...@@ -36,4 +36,4 @@ ...@@ -36,4 +36,4 @@
"jest": "^29.5.0", "jest": "^29.5.0",
"ts-jest": "^29.1.0" "ts-jest": "^29.1.0"
} }
} }
\ No newline at end of file
...@@ -9,4 +9,4 @@ ...@@ -9,4 +9,4 @@
"dependencies": { "dependencies": {
"@next/rspack-core": "1.0.2" "@next/rspack-core": "1.0.2"
} }
} }
\ No newline at end of file
...@@ -42,4 +42,4 @@ ...@@ -42,4 +42,4 @@
"cross-env": "6.0.3", "cross-env": "6.0.3",
"wasm-pack": "0.13.1" "wasm-pack": "0.13.1"
} }
} }
\ No newline at end of file
...@@ -367,4 +367,4 @@ ...@@ -367,4 +367,4 @@
"engines": { "engines": {
"node": ">=20.9.0" "node": ">=20.9.0"
} }
} }
\ No newline at end of file
...@@ -29,4 +29,4 @@ ...@@ -29,4 +29,4 @@
"react-refresh": "0.12.0", "react-refresh": "0.12.0",
"webpack": "^4 || ^5" "webpack": "^4 || ^5"
} }
} }
\ No newline at end of file
...@@ -35,4 +35,4 @@ ...@@ -35,4 +35,4 @@
"next": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0-beta.0", "next": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0-beta.0",
"react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0" "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0"
} }
} }
\ 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