Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ node_js:
- "12"
cache: yarn

env:
global:
- GIT_NAME="uikenshoo"
- GIT_EMAIL="ui@kenshoo.com"

script:
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- yarn prettier
Expand All @@ -16,6 +21,16 @@ script:
yarn workspace @kenshooui/react-tree-docs chromatic;
fi

before_deploy:
- git config --local user.name "${GIT_NAME}"
- git config --local user.email "${GIT_EMAIL}"
- git remote rm origin
- git remote add origin https://${GIT_NAME}@github.com/kenshoo/react-tree.git
- git fetch origin --tags
- git checkout master && git pull origin master
- git branch --set-upstream-to origin/master master
- yarn build

deploy:
- provider: script
script: yarn workspace @kenshooui/react-tree release
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kenshooui/react-tree",
"version": "0.0.8",
"version": "0.0.9",
"main": "dist/react-tree.cjs.js",
"module": "dist/react-tree.esm.js",
"repository": "https://github.com/kenshoo/react-tree.git",
Expand Down