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 () => {
576
576
const packageJsoniOSAndroid = JSON . parse ( fs . readFileSync ( packageJsonPathiOSAndroid ) ) ;
577
577
578
578
if ( versionIndex != - 1 ) {
579
- const version = process . argv [ versionIndex ] ;
579
+ const version = process . argv [ versionIndex + 1 ] ;
580
580
if ( version == '0.64' || version == '0.65' ) {
581
581
console . log ( chalk . black . bgCyan ( `Updating Package.json for React Native ${ version } .` ) ) ;
582
582
let peerDep = ( version == '0.64' ) ? '>=0.63.1 <0.65.0' : '>=0.65.0' ;
@@ -594,6 +594,7 @@ const patchPackageVersion = async () => {
594
594
// release version
595
595
if ( releaseVersionIndex !== - 1 ) {
596
596
const releaseVersion = process . argv [ releaseVersionIndex + 1 ] ;
597
+ console . log ( chalk . black . bgCyan ( `Updating Package.json for Release version ${ releaseVersion } .` ) ) ;
597
598
packageJsonWindows . peerDependencies [ "@babylonjs/react-native" ] = releaseVersion ;
598
599
packageJsoniOSAndroid . peerDependencies [ "@babylonjs/react-native" ] = releaseVersion ;
599
600
You can’t perform that action at this time.
0 commit comments