Argument tag-version-prefix is not documented except in version command's help: https://github.com/lerna/lerna/blob/f84a631402d37b67053f6c1196e6bdf1eccaae05/commands/version/command.js
But in fact it should be used twice in some cases like this one:
#locally
lerna version --tag-version-prefix=''
#on ci
lerna publish from-git --tag-version-prefix=''
I suggest to add this to lerna.json config for consistency.
Yes, we definitely should document that in https://github.com/lerna/lerna/blob/master/commands/version/README.md
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.
Thanks, stale bot :) lol, I've pushed the PR for this.
Still, I suggest to introduce a lerna.json option for this in order to get rid of duplication.
Most helpful comment
Thanks, stale bot :) lol, I've pushed the PR for this.
Still, I suggest to introduce a
lerna.jsonoption for this in order to get rid of duplication.