From 2dff78b0ea8aaadcfb9f5f7108fdc39faa43410a Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Fri, 15 Apr 2016 13:15:14 +0200 Subject: [PATCH] Try to get current branch name --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 925f27ae..e992dda3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,6 +49,7 @@ notifications: # FIXME this needs refinement, obvs after_success: - "test $EMBER_VERSION == 'default' && test $TRAVIS_PULL_REQUEST && ember deploy prod --verbose >> deploy_output" + - git symbolic-ref HEAD | sed 's!refs\/heads\/!!' - "cat deploy_output" - "cat deploy_output | grep 'revision=' | cut -d '=' -f 2 >> index_key" - "cat index_key"