--batch-commits functionality failing since v5.0.0
On v4.0.0, the following set of commands worked correctly, bumping the version of subpackage
(using monorepo support):
LATEST_TAG=`git describe --tags --abbrev=0` # Last version tag of repository
PREV_VERSION=$(toml get --toml-path subpackage/pyproject.toml tool.poetry.version) # Previous version of subpackage
conventional_commits_next_version --batch-commits --from-reference $LATEST_TAG --from-version $PREV_VERSION --monorepo subpackage/
However, the following error is returned since v5.0.0 (and v6.0.0 too):
error: Found argument '--batch-commits' which wasn't expected, or isn't valid in this context
USAGE:
conventional_commits_next_version [OPTIONS] --from-version <from-version> <--from-stdin|--from-commit-hash <from-commit-hash>|--from-reference <from-reference>>
For more information try --help
I've checked the docs but no changes are shown in terms of the usage of the --batch-commits
option.
Edited by Hernán Blanco