Fix canary version strings (#31721)
We're still publishing RCs and creating canary version strings using the RC naming convention. Setting the `canaryChannelLabel` back to canary fixes the version names and tags after the 19 stable release.
Jack Pope committed
Dec 12, 2024 at 14:11 UTC
e854ce3b1551a4ac97012336c2e2076ab0cc0636
1 file changed
+2
-2
ReactVersions.js
+2
-2
@@ -26,11 +26,11 @@ const ReactVersion = '19.1.0';
26
//
27
// It only affects the label used in the version string. To customize the
28
// npm dist tags used during publish, refer to .github/workflows/runtime_prereleases_*.yml.
29
-const canaryChannelLabel = 'rc';
29
+const canaryChannelLabel = 'canary';
30
31
// If the canaryChannelLabel is "rc", the build pipeline will use this to build
32
// an RC version of the packages.
33
-const rcNumber = 1;
33
+const rcNumber = 0;
34
35
const stablePackages = {
36
'eslint-plugin-react-hooks': '5.2.0',