From d2c02faae5d4d148932a22887388411005fa88eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Mon, 14 Jul 2025 16:54:53 +0800 Subject: [PATCH] =?UTF-8?q?compile=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compile.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compile.sh b/compile.sh index f75ac89..22b2adc 100755 --- a/compile.sh +++ b/compile.sh @@ -1,6 +1,6 @@ #!/bin/bash -BRANCH_NAME="pre" +BRANCH_NAME="dev" # 修改项目名称 PROJECT_NAME="video-flow-$BRANCH_NAME-frontend" @@ -14,9 +14,9 @@ echo "Build process started at $(date)" | tee $LOGFILE # 获取当前分支名 current_branch=$(git rev-parse --abbrev-ref HEAD) -# 打包之前,需要检查是否在 pre 分支,工作区是否干净,是否和远程分支一致 +# 打包之前,需要检查是否在 dev 分支,工作区是否干净,是否和远程分支一致 if [ "$(git branch --show-current)" != "$BRANCH_NAME" ]; then - echo "当前分支不是 pre 分支" + echo "当前分支不是 dev 分支" exit 1 fi