Skip to content

Commit

Permalink
fix: unuse publish
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jan 11, 2022
1 parent 291691f commit 69d0234
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ async function release() {
if (!args.publishOnly) {
// Get updated packages
logStep('check updated packages');
const updatedStdout = execa.sync(lernaCli, [
'changed',
args['force-publish'] ? '--force-publish' : '',
]).stdout;
const updatedStdout = execa.sync(lernaCli, ['changed']).stdout;
updated = updatedStdout
.split('\n')
.map((pkg) => {
Expand Down

0 comments on commit 69d0234

Please sign in to comment.