Lerna: tag-version-prefix is not documented

Created on 11 Feb 2019  路  3Comments  路  Source: lerna/lerna

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.

good first issue help wanted

Most helpful comment

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.

All 3 comments

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.

Was this page helpful?
0 / 5 - 0 ratings