Skip to content

Commit

Permalink
✨ [feature] 添加changelog配置
Browse files Browse the repository at this point in the history
  • Loading branch information
lanjingling0510 committed Dec 14, 2016
1 parent d7bcd1e commit b5cc6f8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"react-hot-loader": "^1.3.0",
"remarkable": "^1.6.2",
"reset.css": "^2.0.2",
"rf-changelog": "^0.4.0",
"sinon": "^1.17.4",
"style-loader": "^0.12.4",
"url-loader": "^0.5.6",
Expand Down
10 changes: 7 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

npm run build #打包
node ./index.js #文档
./release_npm.sh #发布npm包
#打包
npm run build
#生成文档
node ./index.js
#发布npm包
./release_npm.sh
./node_modules/.bin/changelog -t v0.0.0 -m '\\[config\\]|\\[feature\\]|[\\document\\]|\\[refact\\]|\\[bug\\]'

0 comments on commit b5cc6f8

Please sign in to comment.