mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-09-22 00:55:44 +00:00
Chop off 'origin/'
when figuring out what branch we're on
This commit is contained in:
parent
d235e2276f
commit
b0486e333d
@ -25,6 +25,11 @@ else
|
|||||||
fi
|
fi
|
||||||
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=`echo "$curbranch" | sed -e 's/^origin\///'`
|
||||||
|
|
||||||
echo "Determined branch to be $curbranch"
|
echo "Determined branch to be $curbranch"
|
||||||
|
|
||||||
# clone a specific branch of a github repo
|
# clone a specific branch of a github repo
|
||||||
|
Loading…
Reference in New Issue
Block a user