wip: try grunt-release

This commit is contained in:
Tunghsiao Liu
2015-04-22 12:20:35 +08:00
parent e16fbea36a
commit d99e09a738
2 changed files with 19 additions and 1 deletions

View File

@@ -9,6 +9,23 @@ module.exports = (grunt) ->
config: config:
pkg: grunt.file.readJSON("package.json") 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", [ grunt.registerTask "default", "Default task aka. build task", [
"changelog" "changelog"
] ]

View File

@@ -27,7 +27,8 @@
"readmeFilename": "README.md", "readmeFilename": "README.md",
"devDependencies": { "devDependencies": {
"grunt": "^0.4.5", "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" "matchdep": "^0.3.0"
} }
} }