Skip to content

Commit

Permalink
feat(grunt): update conventionalChangelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Aug 11, 2015
1 parent 1d35fc2 commit 39e8458
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,14 @@ module.exports = (grunt) ->
]
notify: true

conventionalChangelog:
options:
changelogOpts:
preset: "angular"

release:
src: "CHANGELOG.md"

bump:
options:
files: ["package.json"]
Expand Down Expand Up @@ -441,7 +449,7 @@ module.exports = (grunt) ->
grunt.registerTask "release", "Build, bump and commit", (type) ->
grunt.task.run [
"bump-only:#{type or 'patch'}"
"changelog"
"conventionalChangelog"
"bump-commit"
]

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"grunt-contrib-less": "^1.0.1",
"grunt-contrib-uglify": "^0.9.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-conventional-changelog": "^1.2.2",
"grunt-conventional-changelog": "^4.0.0",
"grunt-csscomb": "^3.0.1",
"grunt-html-smoosher": "sparanoid/grunt-html-smoosher",
"grunt-jekyll": "^0.4.2",
Expand Down

0 comments on commit 39e8458

Please sign in to comment.