github-release-notes
Advanced tools
Comparing version 0.8.0 to 0.8.1
# Changelog | ||
## v0.8.1 (13/04/2017) | ||
*No changelog for this release.* | ||
--- | ||
## v0.8.0 (11/04/2017) | ||
#### Framework Enhancements: | ||
- [#64](https://github.com/github-tools/github-release-notes/issues/64) Get the options with an external npm tool | ||
- [#61](https://github.com/github-tools/github-release-notes/issues/61) Rework the Changelog generator function | ||
- [#55](https://github.com/github-tools/github-release-notes/issues/55) Create a group-by-label option | ||
--- | ||
## v0.7.2 (17/03/2017) | ||
@@ -4,0 +19,0 @@ |
{ | ||
"name": "github-release-notes", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Node module to publish release notes based on commits between the last two tags.", | ||
@@ -5,0 +5,0 @@ "main": "./github-release-notes.js", |
@@ -134,3 +134,12 @@ 'use strict'; | ||
function getBashOptions(args) { | ||
return minimist(args.slice(2)); | ||
var options = minimist(args.slice(2)); | ||
var settings = {}; | ||
Object.keys(options).forEach(function(optionName) { | ||
if (optionName !== '_') { | ||
settings[dashToCamelCase(optionName)] = options[optionName]; | ||
} | ||
}); | ||
return settings; | ||
} | ||
@@ -137,0 +146,0 @@ |
@@ -18,3 +18,2 @@ 'use strict'; | ||
test.deepEqual(JSON.stringify(bashOptions), JSON.stringify({ | ||
_: [], | ||
key: 'value', | ||
@@ -21,0 +20,0 @@ key2: 'value2' |
42317
1198