File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -576,7 +576,7 @@ const patchPackageVersion = async () => {
576576 const packageJsoniOSAndroid = JSON . parse ( fs . readFileSync ( packageJsonPathiOSAndroid ) ) ;
577577
578578 if ( versionIndex != - 1 ) {
579- const version = process . argv [ versionIndex ] ;
579+ const version = process . argv [ versionIndex + 1 ] ;
580580 if ( version == '0.64' || version == '0.65' ) {
581581 console . log ( chalk . black . bgCyan ( `Updating Package.json for React Native ${ version } .` ) ) ;
582582 let peerDep = ( version == '0.64' ) ? '>=0.63.1 <0.65.0' : '>=0.65.0' ;
@@ -594,6 +594,7 @@ const patchPackageVersion = async () => {
594594 // release version
595595 if ( releaseVersionIndex !== - 1 ) {
596596 const releaseVersion = process . argv [ releaseVersionIndex + 1 ] ;
597+ console . log ( chalk . black . bgCyan ( `Updating Package.json for Release version ${ releaseVersion } .` ) ) ;
597598 packageJsonWindows . peerDependencies [ "@babylonjs/react-native" ] = releaseVersion ;
598599 packageJsoniOSAndroid . peerDependencies [ "@babylonjs/react-native" ] = releaseVersion ;
599600
You can’t perform that action at this time.
0 commit comments