Unverified Commit 0dfcdea2 authored by Sebastian Silbermann's avatar Sebastian Silbermann Committed by GitHub

Label React syncs in GitHub with `type: react-sync` (#67710)

parent eb23134e
19.0.0-rc-6230622a1a-20240610
\ No newline at end of file
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
"packages/next-swc/**", "packages/next-swc/**",
"packages/next/**", "packages/next/**",
"packages/react-refresh-utils/**" "packages/react-refresh-utils/**"
] ],
"type: react-sync": [".github/.react-version"]
} }
} }
...@@ -177,6 +177,8 @@ Or run this command again without the --no-install flag to do both automatically ...@@ -177,6 +177,8 @@ Or run this command again without the --no-install flag to do both automatically
) )
} }
await fsp.writeFile(path.join(cwd, '.github/.react-version'), newVersionStr)
console.log( console.log(
`Successfully updated React from ${baseSha} to ${newSha}.\n` + `Successfully updated React from ${baseSha} to ${newSha}.\n` +
`Don't forget to find & replace all references to the React version '${baseVersionStr}' with '${newVersionStr}':\n` + `Don't forget to find & replace all references to the React version '${baseVersionStr}' with '${newVersionStr}':\n` +
......
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