From 13e4e399785718a9dd4aee2ac4f664298a16c7c9 Mon Sep 17 00:00:00 2001 From: alexcanessa Date: Fri, 17 Mar 2017 09:56:48 +0000 Subject: [PATCH] Add configuration file for options and update gren@0.7.2 --- .grenrc.js | 16 ++++++++++++++++ CHANGELOG.md | 34 ++++++++++++++++++++++++++-------- Gruntfile.js | 25 +++++++++++++++++++------ package.json | 4 ++-- 4 files changed, 63 insertions(+), 16 deletions(-) create mode 100644 .grenrc.js diff --git a/.grenrc.js b/.grenrc.js new file mode 100644 index 0000000..816da9a --- /dev/null +++ b/.grenrc.js @@ -0,0 +1,16 @@ +module.exports = { + "ignoreIssuesWith": [ + "duplicate", + "wontfix", + "invalid", + "help wanted" + ], + "template": { + issue: ({ text, name, url, labels }) => { + labels = labels.slice(0, -1); + + return `- [${text}](${url}) ${name} - ${labels}`; + }, + "label": "_{{label}}_," + } +} diff --git a/CHANGELOG.md b/CHANGELOG.md index b79ea14..1c95b61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,43 @@ # Changelog -## 0.4.0 (27/09/2016) +## 0.5.0 14/03/2017 + +- [#6](https://github.com/github-tools/grunt-github-release-notes/issues/6) Use gren 0.6.3 - _enhancement_ +- [#3](https://github.com/github-tools/grunt-github-release-notes/issues/3) Integrate github-release-notes@0.5.0 - _enhancement_ + -- [**enhancement**] Integrate github-release-notes@0.5.0 [#3](https://github.com/github-tools/grunt-github-release-notes/issues/3) -- ? [#2](https://github.com/github-tools/grunt-github-release-notes/issues/2) -- [**enhancement**] Needed option [#1](https://github.com/github-tools/grunt-github-release-notes/issues/1) --- -## 0.3.0 (03/03/2016) +## 0.4.0 27/09/2016 + +- [#2](https://github.com/github-tools/grunt-github-release-notes/issues/2) SSH issue - _closed_ +- [#1](https://github.com/github-tools/grunt-github-release-notes/issues/1) Needed option - _enhancement_ + -*No changelog for this release.* --- -## 0.2.1 (19/11/2015) +## 0.3.0 03/03/2016 *No changelog for this release.* + + --- -## 0.2.0 (19/11/2015) +## 0.2.1 19/11/2015 *No changelog for this release.* + + + + --- + +## 0.2.0 19/11/2015 + +_No changelog for this release._ + + + --- + diff --git a/Gruntfile.js b/Gruntfile.js index 1d01402..bf9a2df 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -8,16 +8,29 @@ 'use strict'; +var gren_options = { + ignoreIssuesWith: [ + "duplicate", + "wontfix", + "invalid", + "help wanted" + ], + template: { + issue: ({ text, name, url, labels }) => { + labels = labels.slice(0, -1); + + return `- [${text}](${url}) ${name} - ${labels}`; + }, + label: "_{{label}}_," + } +} + module.exports = function(grunt) { // Project configuration. grunt.initConfig({ gren: { - release: { - options: { - username: 'github-tools', - repo: 'github-release-notes' - } - } + release: {}, + changelog: {} } }); diff --git a/package.json b/package.json index 7870881..a965aca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-github-release-notes", "description": "Grunt plugin for the npm github-release-notes", - "version": "0.5.0", + "version": "0.6.0", "homepage": "https://github.com/alexcanessa/grunt-github-release-notes", "author": { "name": "Alex Canessa", @@ -37,6 +37,6 @@ ], "dependencies": { "chalk": "^1.1.3", - "github-release-notes": "^0.6.3" + "github-release-notes": "^0.7.2" } }