release-it
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -32,7 +32,4 @@ var util = require('util'), | ||
function stage(file) { | ||
var files = typeof file === 'string' ? [file] : file; | ||
return when.map(files, function(file) { | ||
return run('git', 'add', file); | ||
}); | ||
var files = typeof file === 'string' ? file : file.join(' '); | ||
return run('git', 'add', files); | ||
} | ||
@@ -39,0 +36,0 @@ |
@@ -38,3 +38,3 @@ var optimist = require('optimist'), | ||
optimist.alias('p', 'publish'); | ||
optimist.describe('p', 'Publish to npm'); | ||
optimist.describe('p', 'Publish to npm (only in --non-interactive mode)'); | ||
@@ -41,0 +41,0 @@ optimist.boolean('v'); |
{ | ||
"name": "release-it", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Interactive release tool for Git repositories. Supports to build and release to a distribution/component repository. Publish to npm.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -9,3 +9,3 @@ # Release It! | ||
Obviously, **Release It** has released itself. Cool, heh?! | ||
Obviously, **Release It** has released itself. Cool, heh?! There's also a [Grunt plugin](https://github.com/webpro/grunt-release-it). | ||
@@ -18,2 +18,10 @@ ## Install | ||
Personally, I prefer to alias it to `release`: | ||
```shell | ||
alias release="release-it" | ||
``` | ||
The examples below assume this alias to be defined. | ||
## Configuration | ||
@@ -64,3 +72,4 @@ | ||
"publish": false | ||
}``` | ||
} | ||
``` | ||
@@ -113,3 +122,3 @@ | ||
```shell | ||
release-it --dry-run | ||
release --dry-run | ||
``` | ||
@@ -120,3 +129,3 @@ | ||
```shell | ||
release-it --non-interactive | ||
release --non-interactive | ||
``` | ||
@@ -133,3 +142,3 @@ | ||
Why did I need to create yet another "release" tool/plugin? I think it | ||
Why did I need to create yet another "release" tool/plugin? I think it.. | ||
@@ -136,0 +145,0 @@ * Should be a stand-alone CLI tool. |
149
2225195
16
671