Browse Source
Merge pull request #23423 from abpframework/auto-merge/rel-9-3/3907
Merge branch dev with rel-9.3
pull/23431/head
maliming
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
7 deletions
-
npm/ng-packs/scripts/publish.ts
|
|
|
@ -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']); |
|
|
|
} |
|
|
|
|