auto
auto copied to clipboard
Fix makeRelease issue that causes afterRelease hook to run in the dry run mode
What Changed
makeRelease hook now returns undefined instead of an empty array in dry run mode for independent lerna versioing to prevent afterRelease hook from running.
Closes #2516
Why
To fix the dry run mode for monorepos with "version": "independent" configuration.
Todo:
- [x] Add tests
- [ ] Add docs
Change Type
Indicate the type of change your pull request is:
- [ ]
documentation - [x]
patch - [ ]
minor - [ ]
major
Hey @hipstersmoothie ✋, explicitly tagging you since I cannot add you as a PR reviewer. Thanks.