$ npm install patch-version
Patch git tag version to package.json before publish to npm.
0.0.1, as this package does.patch-version command to deployment hook in your CI configuration file.package.json before publish to npm.Here is the example configuration in .travis.yml for Travis CI:
before_deploy:
- ./node_modules/.bin/patch-version
deploy:
provider: npm
email: "my@email"
api_key:
secure: "secure-key"
MIT License.
© 2010 - cnpmjs.org x YWFE | Home | YWFE