mirror of
https://github.com/sparanoid/chinese-copywriting-guidelines.git
synced 2026-04-05 12:41:23 +08:00
wip: try grunt-release
This commit is contained in:
@@ -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"
|
||||
]
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user