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
Failed preversion
npm script alters lerna.json
#1495
Comments
Whoops, yeah, that's definitely happening. I've fixed it in |
With lerna 3, when preversion fails lerna still publishes: lerna/commands/version/index.js Line 381 in bd948cc
error is catched here :
maybe it should rethrow the error after log it ? |
@christophehurpeau Whoops, yes, that is definitely an oversight. It should definitely re-throw, perhaps based on an opt-out config option? ( |
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. |
I have a npm script for
preversion
that runs linting. After runninglerna publish
that script failing stops it, butlerna.json
still has a bumpedversion
(though no package.json files do).lerna.json
lerna --version
npm --version
yarn --version
node --version
The text was updated successfully, but these errors were encountered: