From e7296d6b343b70b016c77d59a8e05829b11a6cbe Mon Sep 17 00:00:00 2001 From: Luna Wei Date: Fri, 17 Dec 2021 18:35:48 -0800 Subject: [PATCH] Remove usages of bump-oss-version from generated scripts Summary: Changelog: [Internal] - Update the source of the changes in generated files, no longer bump-oss-version but set-rn-version Reviewed By: sota000 Differential Revision: D33110408 fbshipit-source-id: 8cd5004f5d40dde82fe4d6271d5b8598cd27ca31 --- Libraries/Core/ReactNativeVersion.js | 2 +- React/Base/RCTVersion.m | 2 +- .../facebook/react/modules/systeminfo/ReactNativeVersion.java | 2 +- ReactCommon/cxxreact/ReactNativeVersion.h | 2 +- scripts/versiontemplates/RCTVersion.m.template | 2 +- scripts/versiontemplates/ReactNativeVersion.h.template | 2 +- scripts/versiontemplates/ReactNativeVersion.java.template | 2 +- scripts/versiontemplates/ReactNativeVersion.js.template | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Libraries/Core/ReactNativeVersion.js b/Libraries/Core/ReactNativeVersion.js index 5bda2972764..9eef2af22a2 100644 --- a/Libraries/Core/ReactNativeVersion.js +++ b/Libraries/Core/ReactNativeVersion.js @@ -1,5 +1,5 @@ /** - * @generated by scripts/bump-oss-version.js + * @generated by scripts/set-rn-version.js * * Copyright (c) Facebook, Inc. and its affiliates. * diff --git a/React/Base/RCTVersion.m b/React/Base/RCTVersion.m index 42780b6ab2d..76bd7577b5c 100644 --- a/React/Base/RCTVersion.m +++ b/React/Base/RCTVersion.m @@ -1,5 +1,5 @@ /** - * @generated by scripts/bump-oss-version.js + * @generated by scripts/set-rn-version.js * * Copyright (c) Facebook, Inc. and its affiliates. * 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 9b4269717b7..9bf4677d2f7 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 @@ -1,5 +1,5 @@ /** - * @generated by scripts/bump-oss-version.js + * @generated by scripts/set-rn-version.js * * Copyright (c) Facebook, Inc. and its affiliates. * diff --git a/ReactCommon/cxxreact/ReactNativeVersion.h b/ReactCommon/cxxreact/ReactNativeVersion.h index 84de7d7ebee..71501e441ae 100644 --- a/ReactCommon/cxxreact/ReactNativeVersion.h +++ b/ReactCommon/cxxreact/ReactNativeVersion.h @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated by scripts/bump-oss-version.js + * @generated by scripts/set-rn-version.js */ #pragma once diff --git a/scripts/versiontemplates/RCTVersion.m.template b/scripts/versiontemplates/RCTVersion.m.template index 5df4b8fabdb..cbb183b5c52 100644 --- a/scripts/versiontemplates/RCTVersion.m.template +++ b/scripts/versiontemplates/RCTVersion.m.template @@ -1,5 +1,5 @@ /** - * @generated by scripts/bump-oss-version.js + * @generated by scripts/set-rn-version.js * * Copyright (c) Facebook, Inc. and its affiliates. * diff --git a/scripts/versiontemplates/ReactNativeVersion.h.template b/scripts/versiontemplates/ReactNativeVersion.h.template index ed9d242c72a..a290a5994d4 100644 --- a/scripts/versiontemplates/ReactNativeVersion.h.template +++ b/scripts/versiontemplates/ReactNativeVersion.h.template @@ -4,7 +4,7 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * - * @generated by scripts/bump-oss-version.js + * @generated by scripts/set-rn-version.js */ #pragma once diff --git a/scripts/versiontemplates/ReactNativeVersion.java.template b/scripts/versiontemplates/ReactNativeVersion.java.template index 94d103f1000..4f1930434ac 100644 --- a/scripts/versiontemplates/ReactNativeVersion.java.template +++ b/scripts/versiontemplates/ReactNativeVersion.java.template @@ -1,5 +1,5 @@ /** - * @generated by scripts/bump-oss-version.js + * @generated by scripts/set-rn-version.js * * Copyright (c) Facebook, Inc. and its affiliates. * diff --git a/scripts/versiontemplates/ReactNativeVersion.js.template b/scripts/versiontemplates/ReactNativeVersion.js.template index 72bfcfef110..cfeb6eebd0a 100644 --- a/scripts/versiontemplates/ReactNativeVersion.js.template +++ b/scripts/versiontemplates/ReactNativeVersion.js.template @@ -1,5 +1,5 @@ /** - * @generated by scripts/bump-oss-version.js + * @generated by scripts/set-rn-version.js * * Copyright (c) Facebook, Inc. and its affiliates. *