修改build脚本

This commit is contained in:
chenzhihang 2024-09-10 09:50:32 +08:00
parent 47c4bc86ac
commit c4b569bb85
1 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,7 @@ cd ${baseDir}
# 拉取指定分支的最新代码
echo "Checking out and pulling branch $branch..."
git stash
git checkout $branch
if [ $? -ne 0 ]; then
@ -57,7 +58,8 @@ if [ $? -ne 0 ]; then
exit 1
fi
chmod +777 *.sh
chmod +777 ${baseDir}/*.sh
# 创建目录
mkdir -p ${baseDir}/k8s/dockerfiles/jar
mkdir -p ${baseDir}/k8s/dockerfiles/html