mirror of
https://github.com/sparanoid/chinese-copywriting-guidelines.git
synced 2026-04-05 20:51:24 +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"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user