Merge pull request #4220 from vector-im/dbkr/right_branch_chop_origin

Chop off 'origin/'
pull/4226/head
David Baker 2017-06-07 10:50:27 +01:00 revīziju iesūtīja GitHub
revīzija 9a6e0440f9
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām

Parādīt failu

@ -25,6 +25,11 @@ else
fi
fi
# Chop 'origin' off the start as jenkins ends up using
# branches on the origin, but this doesn't work if we
# specify the branch when cloning.
curbranch=${curbranch#origin/}
echo "Determined branch to be $curbranch"
# clone a specific branch of a github repo