File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ node_js:
33 - " 12"
44cache : yarn
55
6+ env :
7+ global :
8+ - GIT_NAME="uikenshoo"
9+ - GIT_EMAIL="ui@kenshoo.com"
10+
611script :
712 - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
813 - yarn prettier
@@ -16,6 +21,16 @@ script:
1621 yarn workspace @kenshooui/react-tree-docs chromatic;
1722 fi
1823
24+ before_deploy :
25+ - git config --local user.name "${GIT_NAME}"
26+ - git config --local user.email "${GIT_EMAIL}"
27+ - git remote rm origin
28+ - git remote add origin https://${GIT_NAME}@github.com/kenshoo/react-tree.git
29+ - git fetch origin --tags
30+ - git checkout master && git pull origin master
31+ - git branch --set-upstream-to origin/master master
32+ - yarn build
33+
1934deploy :
2035 - provider : script
2136 script : yarn workspace @kenshooui/react-tree release
Original file line number Diff line number Diff line change 11{
22 "name" : " @kenshooui/react-tree" ,
3- "version" : " 0.0.8 " ,
3+ "version" : " 0.0.9 " ,
44 "main" : " dist/react-tree.cjs.js" ,
55 "module" : " dist/react-tree.esm.js" ,
66 "repository" : " https://github.com/kenshoo/react-tree.git" ,
You can’t perform that action at this time.
0 commit comments