diff --git a/gruntfile.js b/gruntfile.js index ca8e50d..0c16dfe 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -28,6 +28,30 @@ module.exports = function (grunt) { ] } }, + conventionalChangelog: { + release: { + options: { + changelogOpts: { + preset: 'angular' + } + }, + src: 'CHANGELOG.md' + } + }, + conventionalGithubReleaser: { + release: { + options: { + auth: { + type: 'oauth', + token: process.env.GH_TOKEN + }, + changelogOpts: { + preset: 'angular', + releaseCount: 0 + } + } + } + }, eslint: { target: [ 'index.js', @@ -47,8 +71,9 @@ module.exports = function (grunt) { grunt.task.run([ 'npm-contributors', 'bump-only:' + (type || 'patch'), - 'changelog', + 'conventionalChangelog', 'bump-commit', + 'conventionalGithubReleaser', 'npm-publish' ]) }) diff --git a/package.json b/package.json index a8523d1..0ac9f0b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "karma-ie-launcher", - "version": "2.0.0", + "version": "0.99", "description": "A Karma plugin. Launcher for Internet Explorer.", "main": "index.js", "scripts": {