fix(bug): fix router
This commit is contained in:
10
build.sh
10
build.sh
@@ -51,11 +51,11 @@ FLAG_PROD="${ENV}_latest"
|
||||
|
||||
cd $SHELL_FOLDER
|
||||
|
||||
# 检查git状态
|
||||
echo -e "${GREEN}Checking git status...${NC}"
|
||||
git fetch
|
||||
git merge
|
||||
if [[ $? != 0 ]]; then echo -e "${RED}git pull error${NC}"; exit 100; fi
|
||||
# # 检查git状态
|
||||
# echo -e "${GREEN}Checking git status...${NC}"
|
||||
# git fetch
|
||||
# git merge
|
||||
# if [[ $? != 0 ]]; then echo -e "${RED}git pull error${NC}"; exit 100; fi
|
||||
|
||||
BRANCH_NAME=`git branch | grep "*"`
|
||||
echo -e "${GREEN}Current branch: ${BRANCH_NAME/* /}${NC}"
|
||||
|
||||
Reference in New Issue
Block a user