Skip to content

Commit 15cccad

Browse files
committed
build(release): only log actually publisehd packages
1 parent 1bb1271 commit 15cccad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/release.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ async function main() {
115115
step('\nPublishing packages...')
116116
const releaseTag = semver.prerelease(targetVersion)[0] || 'latest'
117117
for (const pkg of packages) {
118-
step(`Publishing ${pkg}...`)
119118
await publishPackage(pkg, targetVersion, releaseTag, runIfNotDry)
120119
}
121120

@@ -183,6 +182,8 @@ async function publishPackage(pkgName, version, releaseTag, runIfNotDry) {
183182
if (pkg.private) {
184183
return
185184
}
185+
186+
step(`Publishing ${pkg}...`)
186187
try {
187188
await runIfNotDry(
188189
'yarn',

0 commit comments

Comments
 (0)