mirror of
https://github.com/element-hq/element-web
synced 2024-10-22 18:55:47 +03:00
12 lines
283 B
Bash
Executable file
12 lines
283 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
org="$1"
|
|
repo="$2"
|
|
|
|
curbranch="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
|
|
echo "Determined branch to be $curbranch"
|
|
|
|
git clone https://github.com/$org/$repo.git $repo --branch "$curbranch" || git clone https://github.com/$org/$repo.git $repo --branch develop
|
|
|