-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack trace on no changes when running publish #887
Comments
As noted in #807, turns out https://github.com/lerna/lerna/blob/master/src/commands/PublishCommand.js#L128 should actually be This also means we'll have to modify the semantics of the |
Same here:
|
This change was missing from the PR: lerna#807 Relates to the issue: lerna#887 Currently running `lerna publish` when no packages need updating causes the task to crash unnecessarily. This small fix causes the command to complete if no updates are found, instead of trying to continue to the next section.
This was fixed in #982 |
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Expected Behavior
I expect to just get a nice message and exit 1 on no changes when running publish
Current Behavior
Possible Solution
Drop the stack trace. Stopping at
lerna info No updated packages to publish.
should be enough.Steps to Reproduce (for bugs)
lerna publish
lerna.json
lerna-debug.log
Context
N/A
Your Environment
lerna --version
npm --version
yarn --version
node --version
The text was updated successfully, but these errors were encountered: