|
|
|
@ -47,7 +47,7 @@ program.parse(process.argv); |
|
|
|
|
|
|
|
if (program.preview) await replaceWithPreview(program.nextVersion); |
|
|
|
|
|
|
|
await execa('yarn', ['build', '--noInstall', '--skipNgcc'], { stdout: 'inherit' }); |
|
|
|
await execa('yarn', ['build', '--noInstall'], { stdout: 'inherit' }); |
|
|
|
await execa('yarn', ['build:schematics'], { stdout: 'inherit' }); |
|
|
|
} catch (error) { |
|
|
|
console.error(error.stderr); |
|
|
|
@ -98,12 +98,7 @@ program.parse(process.argv); |
|
|
|
})(); |
|
|
|
|
|
|
|
async function updateVersion(version: string) { |
|
|
|
|
|
|
|
await execa( |
|
|
|
'yarn', |
|
|
|
['update-version', version], |
|
|
|
{ stdout: 'inherit', cwd: '../' }, |
|
|
|
); |
|
|
|
await execa('yarn', ['update-version', version], { stdout: 'inherit', cwd: '../' }); |
|
|
|
|
|
|
|
await execa('yarn', ['replace-with-tilde']); |
|
|
|
} |
|
|
|
|