Skip to content

Commit

Permalink
re-align version to be 1000.0.0 on main everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
kelset committed Oct 3, 2022
1 parent 32b6f31 commit a7f2759
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions 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,
Expand Down
10 changes: 5 additions & 5 deletions React/Base/RCTVersion.m
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion 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
Expand Down
Expand Up @@ -15,7 +15,7 @@

public class ReactNativeVersion {
public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
"major", 0,
"major", 1000,
"minor", 0,
"patch", 0,
"prerelease", null);
Expand Down
2 changes: 1 addition & 1 deletion ReactCommon/cxxreact/ReactNativeVersion.h
Expand Up @@ -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 = "";
Expand Down

0 comments on commit a7f2759

Please sign in to comment.