diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 50777f7..5f7dfab 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -9,6 +9,23 @@ module.exports = (grunt) -> config: pkg: grunt.file.readJSON("package.json") + release: + options: + changelog: false, + file: "package.json" + npm: false + commitMessage: "chore: release <%= version %>" + tagName: "v<%= version %>" + tagMessage: "chore: tagging version <%= version %>" + afterBump: [ + "changelog" + ] + # Dev options + commit: false + tag: false + push: false + pushTags: false + grunt.registerTask "default", "Default task aka. build task", [ "changelog" ] diff --git a/package.json b/package.json index 96dbdd3..e5904f8 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "readmeFilename": "README.md", "devDependencies": { "grunt": "^0.4.5", - "grunt-conventional-changelog": "^1.1.0", + "grunt-conventional-changelog": "^1.2.1", + "grunt-release": "^0.12.0", "matchdep": "^0.3.0" } }