mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Fix template jobs, broken for moved file (#42767)
Summary: Some jobs are failing because we moved a file and we did not update the CI with the new path ## Changelog: [Internal] - Update path to relocated file in CI Pull Request resolved: https://github.com/facebook/react-native/pull/42767 Test Plan: CircleCI is green (a part from test_android, fixed by another PR) Reviewed By: huntie, dmytrorykun Differential Revision: D53266042 Pulled By: cipolleschi fbshipit-source-id: 7e611b96c204cdbbf794a731fe0db58cb31657fb
This commit is contained in:
parent
123934581b
commit
37cb84db96
@ -359,7 +359,7 @@ jobs:
|
||||
name: Create Android template project
|
||||
command: |
|
||||
REPO_ROOT=$(pwd)
|
||||
node ./scripts/update-template-package.js "{\"react-native\":\"file:$REPO_ROOT/build/$(cat build/react-native-package-version)\"}"
|
||||
node ./scripts/releases/update-template-package.js "{\"react-native\":\"file:$REPO_ROOT/build/$(cat build/react-native-package-version)\"}"
|
||||
node ./scripts/template/initialize.js --reactNativeRootPath $REPO_ROOT --templateName $PROJECT_NAME --templateConfigPath "$REPO_ROOT/packages/react-native" --directory "/tmp/$PROJECT_NAME"
|
||||
- with_gradle_cache:
|
||||
steps:
|
||||
@ -457,7 +457,7 @@ jobs:
|
||||
REPO_ROOT=$(pwd)
|
||||
PACKAGE=$(cat build/react-native-package-version)
|
||||
PATH_TO_PACKAGE="$REPO_ROOT/build/$PACKAGE"
|
||||
node ./scripts/update-template-package.js "{\"react-native\":\"file:$PATH_TO_PACKAGE\"}"
|
||||
node ./scripts/releases/update-template-package.js "{\"react-native\":\"file:$PATH_TO_PACKAGE\"}"
|
||||
node ./scripts/template/initialize.js --reactNativeRootPath $REPO_ROOT --templateName $PROJECT_NAME --templateConfigPath "$REPO_ROOT/packages/react-native" --directory "/tmp/$PROJECT_NAME"
|
||||
- with_xcodebuild_cache:
|
||||
podfile_lock_path: << parameters.podfile_lock_path >>
|
||||
|
Loading…
Reference in New Issue
Block a user