A cross platform script to publish NPM modules. Based on
npm-release but rewritten to add support for windows.
- Bumps version number in
- Pushes to git
- Publishes to npm
Install the module with:
npm install -g npm-publish
npm-publish [<newversion> | major | minor | patch] -m "message" -f "Force message"
newversion publishes the specified version
Major, minor and patch increase a semver compatible version number.
-m flag to customise the release commit message.
-f flag to stage and commit all changes before releasing with the specified message.
Copyright (c) 2013 Daniel Chatfield. Licensed under the MIT license.