mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
feat(release): use grunt-conventional-github-releaser
You need to set environment variable `GH_TOKEN` as your github token and make sure you run it after you have pushed your tag.
This commit is contained in:
parent
247176d283
commit
22e3d644e1
14
Gruntfile.js
14
Gruntfile.js
|
@ -87,6 +87,20 @@ module.exports = function (grunt) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
conventionalGithubReleaser: {
|
||||||
|
release: {
|
||||||
|
options: {
|
||||||
|
auth: {
|
||||||
|
type: 'oauth',
|
||||||
|
token: process.env.GH_TOEKN
|
||||||
|
},
|
||||||
|
changelogOpts: {
|
||||||
|
preset: 'angular'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
simplemocha: {
|
simplemocha: {
|
||||||
node: {
|
node: {
|
||||||
src: 'test/node/**/*.js',
|
src: 'test/node/**/*.js',
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
"grunt-contrib-jshint": "^0.10.0",
|
"grunt-contrib-jshint": "^0.10.0",
|
||||||
"grunt-contrib-uglify": "^0.6.0",
|
"grunt-contrib-uglify": "^0.6.0",
|
||||||
"grunt-conventional-changelog": "^4.0.0",
|
"grunt-conventional-changelog": "^4.0.0",
|
||||||
|
"grunt-conventional-github-releaser": "^0.3.0",
|
||||||
"grunt-jscs": "^1.2.0",
|
"grunt-jscs": "^1.2.0",
|
||||||
"grunt-simple-mocha": "^0.4.0",
|
"grunt-simple-mocha": "^0.4.0",
|
||||||
"js-beautify": "^1.5.6",
|
"js-beautify": "^1.5.6",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user