Comparing version 1.0.18 to 2.0.0
{ | ||
"name": "grizzly", | ||
"version": "1.0.18", | ||
"version": "2.0.0", | ||
"description": "create release on github", | ||
"main": "lib/release.js", | ||
"main": "lib/grizzly.js", | ||
"bin": { | ||
"grizzly": "bin/release.js" | ||
"grizzly": "bin/grizzly.js" | ||
}, | ||
@@ -29,3 +29,3 @@ "scripts": { | ||
"execon": "~1.2.0", | ||
"github": "^1.1.1", | ||
"github": "^2.0.0", | ||
"minimist": "^1.2.0", | ||
@@ -32,0 +32,0 @@ "os-homedir": "~1.0.0", |
@@ -1,4 +0,4 @@ | ||
# Grizzly | ||
# Grizzly [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] | ||
Create release on github with help of node. | ||
Create release on github with help of node. To upload asset use [putasset](https://github.com/coderaiser/node-putasset "Putasset"). | ||
@@ -18,13 +18,15 @@ ## Install | ||
Options: | ||
-h, --help : display this help and exit, | ||
-v, --version : output version information and exit, | ||
-r, --repo : name of repository, | ||
-o, --owner : owner of repository, | ||
-t, --tagname : tag of repository (shoul exist!), | ||
-n, --name : name of release, | ||
-b, --body : body of release, | ||
-tn, --token : github token <https://github.com/settings/tokens/new> | ||
-h, --help display this help and exit | ||
-v, --version output version information and exit | ||
-r, --repo name of repository | ||
-u, --user user of repository | ||
-t, --tagname tag of repository (shoul exist!) | ||
-n, --name name of release | ||
-b, --body body of release | ||
-p, --prerelease set prerelease | ||
--no-prerelease unset prerelease (default) | ||
-tn, --token github token <https://github.com/settings/tokens/new> | ||
$ grizzly -tn "token from url" \ | ||
-r grizzly -o coderaiser -t v1.0.0 \ | ||
-r grizzly -u coderaiser -t v1.0.0 \ | ||
-n "grizzly v1.0.0" -b "some body" | ||
@@ -46,11 +48,12 @@ ``` | ||
```js | ||
var release = require('grizzly'), | ||
var grizzly = require('grizzly'), | ||
token = 'token from https://github.com/settings/applications'; | ||
release(token, { | ||
repo : 'coderaiser', | ||
owner : 'grizzly', | ||
tag_name: 'v1.0.0', | ||
name : 'grizzly v1.0.0', | ||
body : 'changelog' | ||
grizzly(token, { | ||
user: 'coderaiser', | ||
repo: 'grizzly', | ||
tag: 'v1.0.0', | ||
name: 'grizzly v1.0.0', | ||
body: 'changelog' | ||
prerelease: false /* default */ | ||
}, function(error) { | ||
@@ -65,1 +68,9 @@ if (error) | ||
MIT | ||
[NPMIMGURL]: https://img.shields.io/npm/v/grizzly.svg?style=flat | ||
[DependencyStatusIMGURL]: https://img.shields.io/gemnasium/coderaiser/node-grizzly.svg?style=flat | ||
[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat | ||
[NPMURL]: https://npmjs.org/package/grizzly "npm" | ||
[DependencyStatusURL]: https://gemnasium.com/coderaiser/node-grizzly "Dependency Status" | ||
[LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License" | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9050
131
74
1
+ Addedgithub@2.6.0(transitive)
- Removedgithub@1.4.0(transitive)
Updatedgithub@^2.0.0