Fix branch detection and hardcode fe branch to be develop
This commit is contained in:
parent
c36706bee7
commit
2256fde33a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
;;
|
||||
-*)
|
||||
|
|
Reference in a new issue