@@ -47,7 +47,7 @@ if (!semver.gt(newVersion, currentVersion)) {
47
47
48
48
rootPackageJson . version = newVersion . toString ( ) ;
49
49
fs . writeFileSync ( rootPackageJsonPath , `${ JSON . stringify ( rootPackageJson , null , 2 ) } \n` , 'utf8' ) ;
50
- childProcess . execSync ( `git add "${ rootPackageJsonPath } "` ) ;
50
+ childProcess . execSync ( `git add "${ rootPackageJsonPath } "` , { stdio : 'inherit' } ) ;
51
51
52
52
const dependencyTypes = [ 'dependencies' , 'devDependencies' , 'optionalDependencies' , 'peerDependencies' ] ;
53
53
@@ -75,10 +75,10 @@ for (const packageName of packages) {
75
75
}
76
76
}
77
77
fs . writeFileSync ( packageJsonPath , `${ JSON . stringify ( pkgJson , null , 2 ) } \n` , 'utf8' ) ;
78
- childProcess . execSync ( `git add "${ packageJsonPath } "` ) ;
78
+ childProcess . execSync ( `git add "${ packageJsonPath } "` , { stdio : 'inherit' } ) ;
79
79
}
80
80
81
- childProcess . execSync ( `yarn install` ) ;
82
- childProcess . execSync ( `git add "${ path . resolve ( __dirname , '../yarn.lock' ) } "` ) ;
83
- childProcess . execSync ( `git commit -m "v${ newVersion . toString ( ) } "` ) ;
84
- childProcess . execSync ( `git tag -a v${ newVersion . toString ( ) } -m "v${ newVersion . toString ( ) } "` ) ;
81
+ childProcess . execSync ( `yarn install` , { stdio : 'inherit' } ) ;
82
+ childProcess . execSync ( `git add "${ path . resolve ( __dirname , '../yarn.lock' ) } "` , { stdio : 'inherit' } ) ;
83
+ childProcess . execSync ( `git commit -m "v${ newVersion . toString ( ) } "` , { stdio : 'inherit' } ) ;
84
+ childProcess . execSync ( `git tag -a v${ newVersion . toString ( ) } -m "v${ newVersion . toString ( ) } "` , { stdio : 'inherit' } ) ;
0 commit comments