How to publish a package for NPM and Bower without git tag conflict?

I want to publish a package for Bower and NPM with the same version numbers. Lets say that my package.json, and bower.jsonthere is a version 0.0.0, and I make npm version patch' then when I dothe correction version bower version. I get a fix for an existing error:

Command failed: fatal: tag 'v0.0.1' already exists

How can i avoid this?

+4
source share
1 answer

Ok, I found the answer very quickly.

Using mversion

npm install -g mversion
mversion patch
+3
source

All Articles