Skip to content

Commit

Permalink
fix: 修复bundle脚本异常
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdapl committed Feb 6, 2025
1 parent 36b21ef commit a609139
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/bundle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {createRequire} from 'node:module'
import process from 'node:process'
import {
OPEN_SOURCE_ADDRESS,
buildImage,
getRecentGitCommit,
VipGit,
VipDocker,
} from '@142vip/utils'


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

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

// 构建镜像
await buildImage({
await VipDocker.buildImage({
imageName,
buildArgs: [
// 参数中是否包含 --proxy
Expand Down

0 comments on commit a609139

Please sign in to comment.