From d3a75b52c392fc8c1d10e697ca4aef3349fdface Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 19 Aug 2017 15:09:54 +0200 Subject: [PATCH] Do not hardcode master branch --- code/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/worker.sh b/code/worker.sh index 40530762..e09d9e85 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -4,7 +4,7 @@ URL=$(cat $1 | head -n 1) echo $URL if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then - git checkout master + git checkout "$TRAVIS_BRANCH" fi INPUTBASENAME=$(basename $1)