Commit 2256fde3 authored by rinpatch's avatar rinpatch
Browse files

Fix branch detection and hardcode fe branch to be develop

parent c36706be
Pipeline #18152 failed with stages
in 1 minute and 12 seconds
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
fetch() { fetch() {
if [ $LOCAL = false ]; then if [ $LOCAL = false ]; then
mkdir .tmp 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 git clone $BACKEND_REPO --branch $BRANCH --depth 1 .tmp/be
FRONTEND_REPO=.tmp/fe FRONTEND_REPO=.tmp/fe
BACKEND_REPO=.tmp/be BACKEND_REPO=.tmp/be
...@@ -75,7 +75,7 @@ else ...@@ -75,7 +75,7 @@ else
shift 2 shift 2
;; ;;
--branch) --branch)
branch="$2" BRANCH="$2"
shift 2 shift 2
;; ;;
-*) -*)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment