Skip to content

Commit

Permalink
use conventional changelog/releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
zzo committed May 3, 2016
1 parent 018ba8a commit 8899954
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
27 changes: 26 additions & 1 deletion gruntfile.js
Expand Up @@ -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',
Expand All @@ -47,8 +71,9 @@ module.exports = function (grunt) {
grunt.task.run([
'npm-contributors',
'bump-only:' + (type || 'patch'),
'changelog',
'conventionalChangelog',
'bump-commit',
'conventionalGithubReleaser',
'npm-publish'
])
})
Expand Down
2 changes: 1 addition & 1 deletion 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": {
Expand Down

0 comments on commit 8899954

Please sign in to comment.