mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-17 11:47:02 +02:00
Use develop if no matching branch found
This commit is contained in:
parent
2c462bdfb4
commit
77cd9d78db
@ -12,9 +12,11 @@ REACT_SDK_DIR=`pwd`
|
|||||||
curbranch="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
|
curbranch="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
|
||||||
echo "Determined branch to be $curbranch"
|
echo "Determined branch to be $curbranch"
|
||||||
|
|
||||||
git clone --depth=1 --branch "$curbranch" https://github.com/vector-im/riot-web.git \
|
git clone --depth=1 https://github.com/vector-im/riot-web.git \
|
||||||
"$RIOT_WEB_DIR"
|
"$RIOT_WEB_DIR"
|
||||||
|
|
||||||
|
git checkout "$curbranch" || git checkout develop
|
||||||
|
|
||||||
cd "$RIOT_WEB_DIR"
|
cd "$RIOT_WEB_DIR"
|
||||||
|
|
||||||
mkdir node_modules
|
mkdir node_modules
|
||||||
|
Loading…
Reference in New Issue
Block a user