Have `npm version` not prepend "v" to the git tag
Use a .npmrc
file - you may already have one (it stores your configuration for npm). You can either have:
- a global one in somewhere like
~/.npmrc
- or a specific for each project in
/var/myprojects/awesomeproject/.npmrc
Then, just specify the tag-version-prefix key in it like:
tag-version-prefix=""
alternatively, you can run npm config set tag-version-prefix ''