File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ ARG CONTAINER_BUILD
1414WORKDIR /apps
1515COPY . .
1616
17- RUN echo $CONTAINER_BUILD
17+ # RUN echo $CONTAINER_BUILD
1818
1919# # 基于容器自动构建
2020RUN if [ "$CONTAINER_BUILD" = "true" ]; then \
21- npm i pnpm@7 -g && pnpm i -D && pnpm build; \
21+ ./scripts/ci && pnpm build; \
2222 fi;
2323
2424FROM registry.cn-hangzhou.aliyuncs.com/142vip/nginx:1.23.0-alpine
Original file line number Diff line number Diff line change @@ -16,10 +16,8 @@ readonly commitInfo='chore(release): publish v%s'
1616current_branch=$( git rev-parse --abbrev-ref HEAD)
1717
1818# 判断分支名称
19- if [ " $current_branch " = " next1" ]; then
20-
19+ if [ " $current_branch " = " next" ]; then
2120 bumpp --preid alpha --execute=" $generateChangeLog " --commit " $commitInfo " --all --tag --push
22-
2321else
2422 echo " 当前分支是:$current_branch ,版本迭代允许在next分之操作,并推送到远程!!!"
2523fi
You can’t perform that action at this time.
0 commit comments