diff --git a/Libraries/Core/ReactNativeVersion.js b/Libraries/Core/ReactNativeVersion.js index eefc716eaa9b51..1d82274f85cb23 100644 --- a/Libraries/Core/ReactNativeVersion.js +++ b/Libraries/Core/ReactNativeVersion.js @@ -1,16 +1,16 @@ /** + * @generated by scripts/set-rn-version.js + * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @format - * @generated by scripts/set-rn-version.js * @flow strict */ exports.version = { - major: 0, + major: 1000, minor: 0, patch: 0, prerelease: null, diff --git a/React/Base/RCTVersion.m b/React/Base/RCTVersion.m index 965c57cd19a9f5..1794ca2e5213d9 100644 --- a/React/Base/RCTVersion.m +++ b/React/Base/RCTVersion.m @@ -21,11 +21,11 @@ static dispatch_once_t onceToken; dispatch_once(&onceToken, ^(void){ __rnVersion = @{ - RCTVersionMajor: @(0), - RCTVersionMinor: @(0), - RCTVersionPatch: @(0), - RCTVersionPrerelease: [NSNull null], - }; + RCTVersionMajor: @(1000), + RCTVersionMinor: @(0), + RCTVersionPatch: @(0), + RCTVersionPrerelease: [NSNull null], + }; }); return __rnVersion; } diff --git a/ReactAndroid/gradle.properties b/ReactAndroid/gradle.properties index 11bbc9b3531cfd..a17efe657c761c 100644 --- a/ReactAndroid/gradle.properties +++ b/ReactAndroid/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=1000.0.0-main +VERSION_NAME=1000.0.0 GROUP=com.facebook.react POM_NAME=ReactNative diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java b/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java index d42743752bb9c5..ea97bff8de8051 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java @@ -15,7 +15,7 @@ public class ReactNativeVersion { public static final Map VERSION = MapBuilder.of( - "major", 0, + "major", 1000, "minor", 0, "patch", 0, "prerelease", null); diff --git a/ReactCommon/cxxreact/ReactNativeVersion.h b/ReactCommon/cxxreact/ReactNativeVersion.h index 631530267251ce..5d89f4efaae213 100644 --- a/ReactCommon/cxxreact/ReactNativeVersion.h +++ b/ReactCommon/cxxreact/ReactNativeVersion.h @@ -15,7 +15,7 @@ namespace facebook::react { constexpr struct { - int32_t Major = 0; + int32_t Major = 1000; int32_t Minor = 0; int32_t Patch = 0; std::string_view Prerelease = "";