File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ branch:
1212install :
1313- npm i -g yarn
1414- travis_retry yarn install
15+ - cd test; travis_retry yarn install; yarn run webdriver:update; cd -;
1516before_script :
1617- export DISPLAY=:99.0
1718- sh -e /etc/init.d/xvfb start
Original file line number Diff line number Diff line change 66 */
77
88const CONFIG = require ( '../_config' ) ;
9+ const PKG = require ( '../package.json' ) ;
910const ghPages = require ( 'gh-pages' ) ;
1011const moment = require ( 'moment' ) ;
1112
@@ -16,7 +17,7 @@ async function publishDocs () {
1617 add : false , // replace all gh-pages content, do not append
1718 silent : false ,
1819 dotfiles : false ,
19- message : `Updated: ${ moment ( ) . format ( 'YYYY-MM-DD HH:mm:ss' ) } `
20+ message : `( ${ PKG . version } ) Updated: ${ moment ( ) . format ( 'YYYY-MM-DD HH:mm:ss' ) } `
2021 } ;
2122
2223 try {
Original file line number Diff line number Diff line change 5353 "webpack" : " ^3.5.5"
5454 },
5555 "scripts" : {
56- "clean" : " rm -fr node_modules test/node_modules " ,
56+ "clean" : " rm -fr node_modules" ,
5757 "clean:public" : " bin/cleanPublic.js" ,
5858 "compile" : " bin/compile.js" ,
5959 "pregenerate" : " yarn compile" ,
6060 "generate" : " bin/generate.js" ,
6161 "preghpages" : " yarn generate" ,
6262 "ghpages" : " bin/ghpages.js" ,
6363 "lint" : " eslint -c .eslintrc.json src" ,
64- "postinstall" : " cd test; yarn install; yarn run webdriver:update; cd -;" ,
65- "postpublish" : " yarn ghpages" ,
66- "postversion" : " yarn compile" ,
67- "prepublishOnly" : " yarn generate" ,
64+ "postversion" : " git push origin --tags" ,
65+ "prepublishOnly" : " yarn compile" ,
6866 "rollup" : " rollup -c rollup.config.js" ,
6967 "prestart" : " yarn clean:public && yarn generate" ,
7068 "start" : " bin/start.js" ,
You can’t perform that action at this time.
0 commit comments