From 37cb84db964ebeb6cff7ae67ce19b8b93778a45b Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Wed, 31 Jan 2024 06:31:46 -0800 Subject: [PATCH] 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 --- .circleci/configurations/jobs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/configurations/jobs.yml b/.circleci/configurations/jobs.yml index 6e7a8442004..afb0bb00397 100644 --- a/.circleci/configurations/jobs.yml +++ b/.circleci/configurations/jobs.yml @@ -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 >>