Bug Fixes
- git-utils: Pass
--no-verify
togit push
(#1376) (0b88ffb), closes #1366 - git-utils: Pass
--follow-tags
togit push
(6907e90) - diff: Diff since last release in branch, not most recent global tag (9879fef)
- cli: Exit immediately when error is caught (5b01599), closes #1384
Refactoring
- publish: Move git utilities into module (5594749)
- command: Move
GitUtilities.isInitialized()
into class method (abecfcc) - init: Inline
GitUtilities.init()
(6e401e1) - import: Inline
GitUtilities.getWorkspaceRoot()
(925080e) - git-utils: Devolve
GitUtilities.getCurrentSHA()
to consumers (ecbc1d3) - git-utils: Devolve
GitUtilities.getShortSHA()
to consumers (95d179d) - diff: Move git utilities into module (47dc0e2)
- collect-updates: Move git utilities into module (cb9c19d)
- git-utils: Remove
core/git-utils
package (48096c4)
Features
BREAKING CHANGES
-
@lerna/git-utils
is gone. Don't use it. -
cli: Previously, lerna would accept
--scope
and--ignore
options where they were not intended,
despite logging the unexpected arguments correctly. This would result in the commands continuing to run with unexpected configuration.Going forward, lerna will exit non-zero immediately upon encountering these errors.