add composer install to package prepare script (#42839)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
This commit is contained in:
parent
69172606f5
commit
5ce113d413
|
@ -19,6 +19,7 @@ import { getFilepathFromPackageName } from './validate';
|
|||
export const getNextVersion = ( name: string ) => {
|
||||
try {
|
||||
const cwd = getFilepathFromPackageName( name );
|
||||
execSync( 'composer install', { cwd, encoding: 'utf-8' } );
|
||||
return execSync( './vendor/bin/changelogger version next', {
|
||||
cwd,
|
||||
encoding: 'utf-8',
|
||||
|
|
Loading…
Reference in New Issue