diff --git a/.react-version b/.github/.react-version similarity index 100% rename from .react-version rename to .github/.react-version diff --git a/.github/labeler.json b/.github/labeler.json index 44e8537e493ec..c0c57e7820161 100644 --- a/.github/labeler.json +++ b/.github/labeler.json @@ -72,6 +72,6 @@ "packages/next/**", "packages/react-refresh-utils/**" ], - "type: react-sync": [".react-version"] + "type: react-sync": [".github/.react-version"] } } diff --git a/scripts/sync-react.js b/scripts/sync-react.js index f57ade32f3a94..7fd91473520ae 100644 --- a/scripts/sync-react.js +++ b/scripts/sync-react.js @@ -177,7 +177,7 @@ Or run this command again without the --no-install flag to do both automatically ) } - await fsp.writeFile(path.join(cwd, '.react-version'), newVersionStr) + await fsp.writeFile(path.join(cwd, '.github/.react-version'), newVersionStr) console.log( `Successfully updated React from ${baseSha} to ${newSha}.\n` +