Standard-version: Option to remove "v" from the git tag

Created on 13 Dec 2016  路  3Comments  路  Source: conventional-changelog/standard-version

Just curious, is there any option to remove the "v" from the git tag? I know some people use the "v" in front of the version number convention, but others don't.

docs duplicate question

Most helpful comment

Boom! You guys are awesome, thanks. I'll close this issue up.

All 3 comments

Actually this just landed in standard-version v4.0 via #143! standard-version --help outputs usage for the option:

...
--tag-prefix, -t     Set a custom prefix for the git tag to be created  [string] [default: "v"]
...

@bcoe should this be explicitly documented in the readme if this is such a concern?

Boom! You guys are awesome, thanks. I'll close this issue up.

For the sake of other users: when you have added "release" : "standard-version" to package.json use this to tag without the v-prefix

npm run release -- --tag-prefix=''

Was this page helpful?
0 / 5 - 0 ratings