Read the version base from the install for the deployment

This commit is contained in:
Nabeel Shahzad
2018-02-03 13:16:37 -06:00
parent 43ecc35fe9
commit 512d8a2172
3 changed files with 29 additions and 19 deletions

View File

@@ -40,8 +40,9 @@ jobs:
- if [ "$TRAVIS_BRANCH" = "dev" ]; then ./.travis/deploy_script.sh; fi
- if [ "$TRAVIS_BRANCH" = "master" ]; then ./.travis/deploy_script.sh; fi
on:
php: '7.0'
- stage: deploy-release
all_branches: true
php: '7.0'
- stage: release
script: skip
before_deploy:
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
@@ -54,6 +55,6 @@ jobs:
file_glob: true
file: build/*
on:
tags: true
repo: nabeelio/phpvms
php: '7.0'
tags: true
repo: nabeelio/phpvms
php: '7.0'