Skip to content
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 exec/run with ERR! lerna Unknown arguments: include-merged-tags, includeMergedTags #2332

Closed
Aqours opened this issue Nov 7, 2019 · 2 comments

Comments

@Aqours
Copy link

Aqours commented Nov 7, 2019

Expected Behavior

Works fine as lerna v3.16.4

Current Behavior

throw ERR! lerna Unknown arguments: include-merged-tags, includeMergedTags

Possible Solution

Steps to Reproduce (for bugs)

  1. run lerna exec --since --include-merged-tags -- pwd in monorepo
lerna.json

<!-- Please paste your `lerna.json` here -->

lerna-debug.log

<!-- If you have a `lerna-debug.log` available, please paste it here -->
<!-- Otherwise, feel free to delete this <details> block -->

Context

I want run or exec command since merged tags. And lerna exec --since -- pwd will exclude other merged tags.

Why I'm not use lerna exec --since origin/master -- pwd?
It will throw errors if I add new sub-package on other branch than master, because master does not include new sub-package now.

Your Environment

Executable Version
lerna --version 3.18.3
npm --version 6.12.0
yarn --version VERSION
node --version v12.13.0
OS Version
macOS Catalina 10.15.1
@evocateur
Copy link
Member

--include-merged-tags is only supported on lerna version (and implicitly on lerna publish and lerna changed). That it ever worked on lerna exec/lerna run is an accident of history (and never documented as such).

I guess #1712 should have added it to @lerna/filter-options as well. Or another method entirely. Or I should just give up on caring about strict(). 🤷‍♂

@evocateur
Copy link
Member

Published in v3.18.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants