Fix branch detection and hardcode fe branch to be develop

This commit is contained in:
rinpatch 2019-10-03 14:57:34 +03:00
parent c36706bee7
commit 2256fde33a

View file

@ -3,7 +3,7 @@
fetch() {
if [ $LOCAL = false ]; then
mkdir .tmp
git clone $FRONTEND_REPO --branch $BRANCH --depth 1 .tmp/fe
git clone $FRONTEND_REPO --branch develop --depth 1 .tmp/fe
git clone $BACKEND_REPO --branch $BRANCH --depth 1 .tmp/be
FRONTEND_REPO=.tmp/fe
BACKEND_REPO=.tmp/be
@ -75,7 +75,7 @@ else
shift 2
;;
--branch)
branch="$2"
BRANCH="$2"
shift 2
;;
-*)