Try to get current branch name

This commit is contained in:
Buck Doyle 2016-04-15 13:15:14 +02:00
parent 00be9c26bb
commit 2dff78b0ea

View File

@ -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"