-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lerna publish flag --conventional-commits
doesn't work with --npm-tag
flag
#1498
Comments
@mocheng if you use one or the other, does it appear to work? |
@bmuenzenmeyer It works well if I use either `--conventional-commits" or "--npm-tag=v3" only. |
I can't reproduce without your |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm running into a similar issue with the My
|
@alampros Did the dist-tag Uh, whoops, I think I may have found a bug where ( |
Sorry, false alarm. Still, itches enough that I'm going to add more tests so I can reassure myself. |
@evocateur No, the dist-tag was not set. From the looks of it, npm defaulted it to I'm not sure if it matters at all, but it might be worth mentioning that this is a private module. Thanks so much for the quick response and for your work on this project – it is truly awesome! |
@alampros Thanks for following up. Hrm, that's disturbing that the dist-tag wasn't set correctly. I'll add a test combining |
So I tried it again without |
I'm an idiot. I had the tag specified ( |
Coincidentally, I'm working on making |
Would you believe I had no tests around the presence or absence of
|
v3.8.5 should fix this |
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Expected Behavior
I have one project that have one trunk branch to release with dist-tag
latest
. For next major version, there is another branchtask/v3
to release with dist-tagv3
.The script is like below:
It is expected to publish all packages with conventional-commits and on dist-tag
v3
.Current Behavior
The script failed with message like below:
Possible Solution
It looks that the two flags
--conventional-commits
and--npm-tag
are not compatible.Your Environment
lerna --version
npm --version
node --version
The text was updated successfully, but these errors were encountered: