This script makes releasing NPM modules via CI easy.
-
make sure your path includes
./bin
and/node_modules/.bin
-
install this helper:
$ npm i --save-dev publish-via-ci
-
set up the CI server to automatically publish new releases from the
release
branch.
To release a new version of your NPM module, simply call:
$ publish <patch|minor|major>