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...')
|
step('\nPublishing packages...')
|
||||||
const releaseTag = semver.prerelease(targetVersion)[0] || 'latest'
|
const releaseTag = semver.prerelease(targetVersion)[0] || 'latest'
|
||||||
for (const pkg of packages) {
|
for (const pkg of packages) {
|
||||||
step(`Publishing ${pkg}...`)
|
|
||||||
await publishPackage(pkg, targetVersion, releaseTag, runIfNotDry)
|
await publishPackage(pkg, targetVersion, releaseTag, runIfNotDry)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -183,6 +182,8 @@ async function publishPackage(pkgName, version, releaseTag, runIfNotDry) {
|
|||||||
if (pkg.private) {
|
if (pkg.private) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
step(`Publishing ${pkg}...`)
|
||||||
try {
|
try {
|
||||||
await runIfNotDry(
|
await runIfNotDry(
|
||||||
'yarn',
|
'yarn',
|
||||||
|
Loading…
Reference in New Issue
Block a user