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
fix(publish): ensure zero exit code when EWORKINGTREE warning occurs #3327
Conversation
fixed |
@juristr we recently upgraded from version 3.22.1 to version 6. When using Some more context:
Do you think this PR should be accepted? |
@sirctseb I'll bring this issue to the team's attention so we can look into it. There are a couple of potential issues we've already seen that might occur when there's no Git repo set up because Lerna requires Git for many of its operations. Some are legit because the Git information is needed as part of the operation, but for others it should not be required. |
Thanks @juristr. Let me know if we can help with any additional information from our use-case. We do not need (or want) our .git directory in the docker image we us in CI when we call
We're exploring workarounds like using Thanks! |
Thank you @pengzai-dev! |
Is there an estimated date for a new release with this fix? |
Thanks for your patience on this, it slipped my mind completely - we will cut a release this week for sure |
Lerna |
fixed error when run "lerna publish from-package" in package.json scripts
Description
when verifyWorkingTreeClean error happend set exitCode to 0
Motivation and Context
How Has This Been Tested?
1、add publish:'lerna publish from-package" to package.json->"scripts"
2、exec "npm run publish" in terminal
3、everything well done
Types of changes
Checklist: