diff --git a/scripts/new-release.sh b/scripts/new-release.sh index 92260a8a1c..ce9d2e6497 100755 --- a/scripts/new-release.sh +++ b/scripts/new-release.sh @@ -56,7 +56,7 @@ function generateNewReleaseBranch () { git checkout -b "$branchName" # generate app and remove generated git repo - npx react-native@"${newRelease}" init "$AppName" --version "$newRelease" --skip-install + npx @react-native-community/cli@latest init "$AppName" --version "$newRelease" --skip-install # clean up before committing for diffing rm -rf "$AppName"/.git