Skip to content

Commit a609139

Browse files
committed
fix: 修复bundle脚本异常
1 parent 36b21ef commit a609139

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/bundle

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import {createRequire} from 'node:module'
1111
import process from 'node:process'
1212
import {
1313
OPEN_SOURCE_ADDRESS,
14-
buildImage,
15-
getRecentGitCommit,
14+
VipGit,
15+
VipDocker,
1616
} from '@142vip/utils'
1717

1818

@@ -25,10 +25,10 @@ import {
2525
const imageName = `${OPEN_SOURCE_ADDRESS.DOCKER_ALIYUNCS_VIP}/docs:${pkg.name}-${pkg.version}`
2626

2727
// 最近一次提交信息
28-
const {hash: gitHash} = await getRecentGitCommit()
28+
const {hash: gitHash} = await VipGit.getRecentGitCommit()
2929

3030
// 构建镜像
31-
await buildImage({
31+
await VipDocker.buildImage({
3232
imageName,
3333
buildArgs: [
3434
// 参数中是否包含 --proxy

0 commit comments

Comments
 (0)