Run the update children project if is push or beta

This commit is contained in:
maurizio vitale 2019-08-29 12:45:22 +01:00
parent 43df299096
commit 01ff4dfa52

View File

@ -35,6 +35,8 @@ stages:
- name: e2e Test - name: e2e Test
- name: Update Rancher PR - name: Update Rancher PR
if: type = pull_request if: type = pull_request
- name: Update Children Projects
if: branch = development AND type = push OR (tag =~ .*beta.*)
addons: addons:
chrome: stable chrome: stable
@ -70,9 +72,7 @@ jobs:
script: ./scripts/travis/unit-test/process.sh script: ./scripts/travis/unit-test/process.sh
- stage: Update children projects dependency #Update children projects dependency - stage: Update Children Projects
name: Update Related Project
if: tag =~ .*beta.*
script: ./scripts/travis/update/update-children.sh script: ./scripts/travis/update/update-children.sh