提交 6211c6ee 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

keep the other one

上级 08bc2bc7
......@@ -20,9 +20,8 @@ cache:
stages:
- test
- pack
- deploy
# - name: deploy
# if: (type = push) AND branch =~ ^(master|v\d+\.\d+)$
- name: deploy
if: (type = push) AND branch =~ ^(master|v\d+\.\d+)$
before_install:
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then ./scripts/prepare-osx.sh; fi
......@@ -47,10 +46,10 @@ jobs:
- echo "NPM Pack Testing Finished."
- stage: deploy
branches:
only:
- master
- /^v\d+\.\d+$/
# branches:
# only:
# - master
# - /^v\d+\.\d+$/
script:
- echo "NPM Deploying Started ..."
- npm version
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册