File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,7 @@ script:
2020after_success :
2121 - npm install coveralls
2222 - cat ./coverage/lcov.info | coveralls
23- - |
24- if [[ "${TRAVIS_BRANCH}" == "master" ]]; then
25- npm run build
26- git tag $(node -p "require('./package.json').version")
27- export PACKAGE=$(npm pack --silent)
28- fi
23+ - ' [[ "${TRAVIS_BRANCH}" == "master" && "${TRAVIS_EVENT_TYPE}" == "push" ]] && npm run build && git tag $(node -p "require('' ./package.json'' ).version") && export PACKAGE=$(npm pack --silent)'
2924
3025deploy :
3126 - provider : releases
Original file line number Diff line number Diff line change 11{
22 "name" : " g8-vue-tree" ,
3- "version" : " 0.0.18 " ,
3+ "version" : " 0.0.19 " ,
44 "repository" : " git@github.com:eidng8/vue-tree.git" ,
55 "bugs" : " git@github.com:eidng8/vue-tree/issues" ,
66 "author" : " eidng8 <cheung.jackey@gmail.com>" ,
You can’t perform that action at this time.
0 commit comments