File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -41,3 +41,7 @@ deploy:
4141 on :
4242 repo : eidng8/vue-tree
4343 # tags: true
44+ after_deploy :
45+ # I want to make sure the dev is at the tip of every release.
46+ # Just save me some key stroke to manually do it, or I may forget to do.
47+ - git checkout -t origin/dev && git rebase master && git push
Original file line number Diff line number Diff line change 44if [[ " ${TRAVIS_BRANCH} " == " master" && " ${TRAVIS_EVENT_TYPE} " == " push" ]]; then
55 export TRAVIS_TAG=${TRAVIS_TAG:- $(node -p " require('./package.json').version" )-$(date +' %Y.%m.%d' )-$(git log --format=% h -1)}
66 git tag ${TRAVIS_TAG}
7- # I want to make sure the dev is at the tip of every release.
8- # Just save me some key stroke to manually do it, or I may forget to do.
9- git checkout dev
10- git rebase master
11- git push origin
12- # Back to the releasing
13- git checkout master
147 npm run build
158 export PACKAGE=$( npm pack --silent)
169else
You can’t perform that action at this time.
0 commit comments