You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amaterasu.apache.org by ya...@apache.org on 2018/04/14 11:38:43 UTC

[incubator-amaterasu] branch master updated: added branch env to build yaml

This is an automated email from the ASF dual-hosted git repository.

yaniv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-amaterasu.git


The following commit(s) were added to refs/heads/master by this push:
     new bbf4679  added branch env to build yaml
bbf4679 is described below

commit bbf4679089fd674a63af802676ac35d235d0ba85
Author: Yaniv Rodenski <ro...@gmail.com>
AuthorDate: Sat Apr 14 21:38:27 2018 +1000

    added branch env to build yaml
---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 88275fc..97e9dbc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,8 @@ before_install:
 - chmod +x gradlew
 script:
 - "./gradlew buildDistribution"
+before_deploy:
+- TRAVIS_BRANCH=$(git symbolic-ref --short -q HEAD)
 deploy:
   provider: releases
   api_key:
@@ -17,7 +19,7 @@ deploy:
   on:
     repo: apache/incubator-amaterasu
     all_branches: true
-    condition: $TRAVIS_BRANCH =~ ^(?i:version)-.*$
+    condition: $TRAVIS_BRANCH =~ ^(?i:amaterasu-version)-.*$
 notifications:
   email:
   - dev@amaterasu.incubator.apache.org

-- 
To stop receiving notification emails like this one, please contact
yaniv@apache.org.