mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #4220 from vector-im/dbkr/right_branch_chop_origin
Chop off 'origin/'
This commit is contained in:
commit
9a6e0440f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user