mirror of https://github.com/vector-im/riot-web
Step 10.4: Fix end-to-end test branch matching
parent
63091e7b66
commit
7aeb2c3cde
|
@ -57,7 +57,10 @@ BRANCH_ARRAY=(${head//:/ })
|
||||||
TRY_ORG=$deforg
|
TRY_ORG=$deforg
|
||||||
TRY_BRANCH=${BRANCH_ARRAY[0]}
|
TRY_BRANCH=${BRANCH_ARRAY[0]}
|
||||||
if [[ "$head" == *":"* ]]; then
|
if [[ "$head" == *":"* ]]; then
|
||||||
|
# ... but only match that fork if it's a real fork
|
||||||
|
if [ "${BRANCH_ARRAY[0]}" != "matrix-org" ]; then
|
||||||
TRY_ORG=${BRANCH_ARRAY[0]}
|
TRY_ORG=${BRANCH_ARRAY[0]}
|
||||||
|
fi
|
||||||
TRY_BRANCH=${BRANCH_ARRAY[1]}
|
TRY_BRANCH=${BRANCH_ARRAY[1]}
|
||||||
fi
|
fi
|
||||||
clone ${TRY_ORG} $defrepo ${TRY_BRANCH}
|
clone ${TRY_ORG} $defrepo ${TRY_BRANCH}
|
||||||
|
|
Loading…
Reference in New Issue