publish
Mic's node module publishing workflow.
- bumps the package's
.version
following semver semantics - does a git release with commit, tag, push and --tags
- publishes on npm
Usage
Inside a node module, issue publish()
with eiher an absolute version:
$ publish 6.6.6
Or pass patch
, minor
or major
, to let it do the semver bump for you:
$ publish patch
Installation
In your bash config:
source PATH_TO_THIS_REPO/index.js
License
MIT