Skip to content

Commit

Permalink
add branch dev to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
shinny-mayanqiong committed Jul 11, 2019
1 parent 11b3f68 commit 8ab879c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ osx_image: xcode10.2
dist: trusty
sudo: true
language: node_js
node_js: '10'
node_js:
- '10'
#cache:
# directories:
# - node_modules
Expand Down Expand Up @@ -30,7 +31,7 @@ before_deploy:
# Set up git user name and tag this commit
- git config --local user.name "ElizabethMa"
- git config --local user.email "[email protected]"
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d %H:%M:%S')-from brance $(TRAVIS_PULL_REQUEST_BRANCH)}
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d %H:%M:%S')-$(git log --format=%h -1)}
- git tag $TRAVIS_TAG
deploy:
- provider: releases
Expand Down

0 comments on commit 8ab879c

Please sign in to comment.