Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to remove "v" from the git tag #153

Closed
roboto84 opened this issue Dec 13, 2016 · 3 comments
Closed

Option to remove "v" from the git tag #153

roboto84 opened this issue Dec 13, 2016 · 3 comments

Comments

@roboto84
Copy link

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.

@Tapppi
Copy link
Member

Tapppi commented Dec 13, 2016

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?

@roboto84
Copy link
Author

roboto84 commented Dec 15, 2016

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

@rkristelijn
Copy link

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=''

beatrizsmerino added a commit to beatrizsmerino/vue-todolist that referenced this issue Aug 16, 2022
Steps:
- The previous versions of this project do not use the prefix `v` in front of the number, so I will keep the next versions the same way

References:
- conventional-changelog/standard-version#153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants