build(release): only log actually publisehd packages
This commit is contained in:
parent
1bb1271b5e
commit
15cccad09f
@ -115,7 +115,6 @@ async function main() {
|
||||
step('\nPublishing packages...')
|
||||
const releaseTag = semver.prerelease(targetVersion)[0] || 'latest'
|
||||
for (const pkg of packages) {
|
||||
step(`Publishing ${pkg}...`)
|
||||
await publishPackage(pkg, targetVersion, releaseTag, runIfNotDry)
|
||||
}
|
||||
|
||||
@ -183,6 +182,8 @@ async function publishPackage(pkgName, version, releaseTag, runIfNotDry) {
|
||||
if (pkg.private) {
|
||||
return
|
||||
}
|
||||
|
||||
step(`Publishing ${pkg}...`)
|
||||
try {
|
||||
await runIfNotDry(
|
||||
'yarn',
|
||||
|
Loading…
Reference in New Issue
Block a user