Skip to content

Commit 65de872

Browse files
committed
workflow: auto generate release note
1 parent 88e93ec commit 65de872

File tree

3 files changed

+589
-19
lines changed

3 files changed

+589
-19
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ docs/_book
66
.idea
77
*.iml
88
*.log
9+
RELEASE.md

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"lint": "eslint lib test --fix",
2727
"test": "eslint lib && mocha --slow 5000 --timeout 10000",
2828
"docs": "cd docs && gitbook install && gitbook serve",
29-
"docs:deploy": "bash ./docs/deploy.sh"
29+
"docs:deploy": "bash ./docs/deploy.sh",
30+
"postpublish": "conventional-changelog -p angular -r 2 > RELEASE.md"
3031
},
3132
"gitHooks": {
3233
"pre-commit": "lint-staged"
@@ -68,6 +69,7 @@
6869
"chai": "^4.1.0",
6970
"coffee-loader": "^0.7.2",
7071
"coffee-script": "^1.12.7",
72+
"conventional-changelog": "^1.1.18",
7173
"css-loader": "^0.28.4",
7274
"eslint": "^3.19.0",
7375
"eslint-plugin-vue-libs": "^1.2.0",

0 commit comments

Comments
 (0)