File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ script:
2020after_success :
2121 - npm install coveralls
2222 - cat ./coverage/lcov.info | coveralls
23- - ' [[ "${TRAVIS_BRANCH}" == "master" && "${TRAVIS_EVENT_TYPE}" == "push" ]] && npm run build && git tag $(node -p "require( '' ./package.json '' ).version") && export PACKAGE=$(npm pack --silent) '
23+ - ./release.sh
2424
2525deploy :
2626 - provider : releases
@@ -40,3 +40,5 @@ deploy:
4040 on :
4141 repo : eidng8/vue-tree
4242 # tags: true
43+ after_deploy :
44+ - git checkout dev && git rebase master && git push origin
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -ev
3+ if [[ " ${TRAVIS_BRANCH} " == " master" && " ${TRAVIS_EVENT_TYPE} " == " push" ]]; then
4+ npm run build
5+ git tag $( node -p " require('./package.json').version" )
6+ export PACKAGE=$( npm pack --silent)
7+ fi
You can’t perform that action at this time.
0 commit comments