Skip to content

lerna exec/run with ERR! lerna Unknown arguments: include-merged-tags, includeMergedTags #2332

@Aqours

Description

@Aqours

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions