File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import PackageDescription
1313 To build React Native, you need to follow these steps:
1414 1. inside the `react-native` root folder, run `yarn install`
1515 2. `cd packages/react-native`
16- 3. `RNDEP_VERSION =nightly HERMES_VERSION=nightly node scripts/prebuild-ios`
16+ 3. `RN_DEP_VERSION =nightly HERMES_VERSION=nightly node scripts/prebuild-ios`
1717 4. `open Package.swift`
1818 5. Build in Xcode.
1919
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const dependencyLog = createLogger('ReactNativeDependencies');
2020
2121/**
2222 * Downloads ReactNativeDependencies artifacts from the specified version and build type. If you want to specify a specific
23- * version of ReactNativeDependencies, use the RNDEP_VERSION environment variable. The path to the artifacts will be inside
23+ * version of ReactNativeDependencies, use the RN_DEP_VERSION environment variable. The path to the artifacts will be inside
2424 * the packages/react-native/third-party folder.
2525 */
2626async function prepareReactNativeDependenciesArtifactsAsync (
@@ -39,7 +39,7 @@ async function prepareReactNativeDependenciesArtifactsAsync(
3939 const versionFilePath = path . join ( artifactsPath , 'version.txt' ) ;
4040
4141 // Resolve the version from the environment variable or use the default version
42- let resolvedVersion = process . env . RNDEP_VERSION ?? version ;
42+ let resolvedVersion = process . env . RN_DEP_VERSION ?? version ;
4343
4444 if ( resolvedVersion === 'nightly' ) {
4545 dependencyLog ( 'Using latest nightly tarball' ) ;
You can’t perform that action at this time.
0 commit comments