Open jmuzina opened 4 hours ago
Possibly related: https://github.com/lerna/lerna/issues/1357 This behavior seems to deviate from what is suggested in Lerna's docs ("Lerna will only version and publish packages that have changed since the previous release")
All of our packages are being published on publishing workflows, even if they were not directly or indirectly updated.
Current Behavior
lerna changed
, which is used under the hood bylerna version
andlerna publish
, is outputting all packages as changed even when run just after a publishing action.Expected behavior
lerna changed
should only output packages that have been updated since the last publishing action. Lerna should read the local git context and determine which packages were changed by comparing against published packages.lerna version
andlerna publish
should only version packages that were updated (directly or indirectly)