Skip to content

Commit

Permalink
Move .react-version since it's purely a Github concern
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jul 19, 2024
1 parent a7c4fc9 commit b9937c5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/labeler.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@
"packages/next/**",
"packages/react-refresh-utils/**"
],
"type: react-sync": [".react-version"]
"type: react-sync": [".github/.react-version"]
}
}
2 changes: 1 addition & 1 deletion scripts/sync-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -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` +
Expand Down

0 comments on commit b9937c5

Please sign in to comment.