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 <roa...@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:
   - d...@amaterasu.incubator.apache.org

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

Reply via email to