mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Would if I added the script
This commit is contained in:
parent
730512bc3f
commit
b44582777b
12
scripts/fetchdep.sh
Executable file
12
scripts/fetchdep.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user