auto icon indicating copy to clipboard operation
auto copied to clipboard

Fix makeRelease issue that causes afterRelease hook to run in the dry run mode

Open bugron opened this issue 10 months ago • 1 comments

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

bugron avatar Jan 09 '26 10:01 bugron

Hey @hipstersmoothie ✋, explicitly tagging you since I cannot add you as a PR reviewer. Thanks.

bugron avatar Jan 09 '26 10:01 bugron