conventional-github-releaser
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -6,2 +6,16 @@ # Change Log | ||
<a name="3.1.1"></a> | ||
## [3.1.1](https://github.com/conventional-changelog/releaser-tools/compare/conventional-github-releaser@3.1.0...conventional-github-releaser@3.1.1) (2018-06-06) | ||
### Bug Fixes | ||
* **cli:** add default values to flags ([c4bb0db](https://github.com/conventional-changelog/releaser-tools/commit/c4bb0db)) | ||
* **cli:** add type values to flags ([de16925](https://github.com/conventional-changelog/releaser-tools/commit/de16925)) | ||
* **cli:** use flags property grouped by flag name ([c0ee6df](https://github.com/conventional-changelog/releaser-tools/commit/c0ee6df)) | ||
* use environment variables as defaults ([ec5157f](https://github.com/conventional-changelog/releaser-tools/commit/ec5157f)) | ||
<a name="3.1.0"></a> | ||
@@ -8,0 +22,0 @@ # [3.1.0](https://github.com/conventional-changelog/releaser-tools/compare/conventional-github-releaser@3.0.0...conventional-github-releaser@3.1.0) (2018-05-31) |
@@ -37,3 +37,3 @@ { | ||
}, | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"dependencies": { | ||
@@ -40,0 +40,0 @@ "conventional-changelog": "^1.1.0", |
@@ -5,3 +5,3 @@ # conventional-github-releaser | ||
[![codecov.io](https://codecov.io/gh/conventional-changelog/releaser-tools/coverage.svg?branch=master)](https://codecov.io/gh/conventional-changelog/releaser-tools?branch=master) | ||
[![Join the chat at https://gitter.im/conventional-changelog/releaser-tools](https://badges.gitter.im/conventional-changelog/releaser-tools.svg)](https://gitter.im/conventional-changelog/conventional-github-releaser) | ||
[![Gitter](https://badges.gitter.im/conventional-changelog/releaser-tools.svg)](https://gitter.im/conventional-changelog/releaser-tools?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) | ||
@@ -8,0 +8,0 @@ > Make a new GitHub release from git metadata. |
@@ -41,14 +41,45 @@ #!/usr/bin/env node | ||
Default: false | ||
` | ||
}, { | ||
alias: { | ||
u: 'url', | ||
t: 'token', | ||
p: 'preset', | ||
k: 'pkg', | ||
r: 'releaseCount', | ||
v: 'verbose', | ||
n: 'config', | ||
c: 'context', | ||
d: 'draft' | ||
`, | ||
flags: { | ||
url: { | ||
alias: 'u', | ||
default: process.env.CONVENTIONAL_GITHUB_URL || 'https://api.github.com', | ||
type: 'string' | ||
}, | ||
token: { | ||
alias: 't', | ||
default: process.env.CONVENTIONAL_GITHUB_RELEASER_TOKEN, | ||
type: 'string' | ||
}, | ||
preset: { | ||
alias: 'p', | ||
type: 'string' | ||
}, | ||
pkg: { | ||
alias: 'k', | ||
type: 'string' | ||
}, | ||
releaseCount: { | ||
alias: 'r', | ||
default: 1, | ||
type: 'number' | ||
}, | ||
verbose: { | ||
alias: 'v', | ||
default: 'false', | ||
type: 'boolean' | ||
}, | ||
config: { | ||
alias: 'n', | ||
type: 'string' | ||
}, | ||
context: { | ||
alias: 'c', | ||
type: 'string' | ||
}, | ||
draft: { | ||
alias: 'd', | ||
default: false, | ||
type: 'boolean' | ||
} | ||
} | ||
@@ -105,4 +136,4 @@ }) | ||
conventionalGithubReleaser({ | ||
url: flags.url || process.env.CONVENTIONAL_GITHUB_URL, | ||
token: flags.token || process.env.CONVENTIONAL_GITHUB_RELEASER_TOKEN | ||
url: flags.url, | ||
token: flags.token | ||
}, changelogOpts, templateContext, gitRawCommitsOpts, parserOpts, writerOpts, function (err, data) { | ||
@@ -109,0 +140,0 @@ if (err) { |
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
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
25882
343