diff --git a/Gruntfile.js b/Gruntfile.js index 867415b..4bf32ca 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -17,6 +17,29 @@ module.exports = function (grunt) { files: ['src/*.js', 'spec/*Spec.js'], tasks: ['jasmine_node'] } + }, + conventionalChangelog: { + options: { + changelogOpts: { + preset: 'angular' + } + }, + release: { + src: 'CHANGELOG.md' + } + }, + conventionalGithubReleaser: { + release: { + options: { + auth: { + type: 'oauth', + token: process.env.GH_TOKEN + }, + changelogOpts: { + preset: 'angular' + } + } + } } }); diff --git a/package.json b/package.json index 7436511..ba87e79 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,9 @@ }, "devDependencies": { "grunt": "~0.4.1", - "grunt-conventional-changelog": "~0.1.0", "grunt-contrib-watch": "~0.5.0", + "grunt-conventional-changelog": "~4.1.0", + "grunt-conventional-github-releaser": "^0.4.0", "grunt-jasmine-node": "~0.1.0", "jasmine-node": "~1.12.0" }