kn-release
Tag, push, and publish your repositories with one command.
Based on the lovely https://github.com/rpflorence/rf-release minus the changelog generation. I prefer managing the changelog manually, plus it's very easy to make that an additional step on per project.
Installation
npm install kn-release
Usage
$ release
$ node_modules/.bin/release
What it does
- prompts you for the new version
- updates
package.json and bower.json (if they exist)
- commits the version updates with a simple commit message ("release {version}")
- creates the tag "v{version}"
- pushes master and the new tag to origin
- publishes to npm
But I have a build step before I can tag and publish!
That's fine, just do your build first w/o committing, then run
release. It'll all go in the same commit.