Open jonathantredway opened 2 years ago
I am running into this bug as well! Is there a temporary workaround?
did anybody figure this out? any workarounds? @Domitnator, @jonathantredway, mom, God...? Anybody?
Version branches might get kinda hectic with independent mode. Currently this is not supported and I don't think I have the time to dig into it
Describe the bug
When
versionBranches
has a value in.autorc
and"version"
is set to"independent"
inlerna.json
, the version produced here is an empty string (from this ternary), causing SemVer to throwTypeError: Invalid Version:
.To Reproduce
versionBranches
to any string value in yourautorc
."version": "independent"
in yourlerna.json
.auto shipit
in ci by merging a PR with themajor
version label to thebaseBranch
.Expected behavior
shipit
is successful and a branch is created to version the major release.Screenshots
.autorc
lerna.json
Stack Trace:
Additional context
As I linked in the description, this ternary seems very suspicious. Why does it produces the package list on new lines in
dryrun
and an empty string otherwise?