From 8ab879c22f646345dade0b17b7eb44ceeb94ad7d Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Thu, 11 Jul 2019 09:45:41 +0800 Subject: [PATCH] add branch dev to travis --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cb5f3c6..96d5194 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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 "ma_yanqiong@163.com" - - 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