version 5.1.3 broken version bump for internal monorepo packages
See original GitHub issueCurrent Behavior
When using version 5.1.3 or above more than half of our packages don’t get their version correctly updated. The UI correctly lists all packages and shows the version correctly (which is misleading) but after checking git status
we can see that only 8 packages got updated.
Expected Behavior
All versions get updated in multiple package.json files for each of the packages our monorepo has.
Steps to Reproduce
Unfortunately I don’t have a repro to provide you since our project is not open source. But I have confirmed that until 5.1.2 all our package versions get correctly updated, however from 5.1.3 less than half of the packages get updated.
We ran the following command:
npx lerna version --no-git-tag-version --no-push --no-commit-hooks --loglevel debug --exact 6.0.0
I’ve also tried with different parameters etc but no impact.
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top GitHub Comments
in case that helps, the fix was already applied in Lerna-Lite or you could wait for it to be applied here. Nice to see more confirmation of the issue & fix. Thanks
Thanks for reporting this @gmcestari let us know if you have any issues with lerna
5.4.1
which includes the fix for this