Skip to content

Commit 01ad97d

Browse files
authored
attempt canary builds (#15)
* attempt canary builds * attempt canary builds * attempt canary builds * attempt canary builds
1 parent ded2e6b commit 01ad97d

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ node_js:
33
- "12"
44
cache: yarn
55

6+
env:
7+
global:
8+
- GIT_NAME="uikenshoo"
9+
- GIT_EMAIL="ui@kenshoo.com"
10+
611
script:
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+
1934
deploy:
2035
- provider: script
2136
script: yarn workspace @kenshooui/react-tree release

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)